We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb53f58 commit f039f69Copy full SHA for f039f69
1 file changed
TablePro/Views/Main/MainContentCoordinator.swift
@@ -253,10 +253,13 @@ final class MainContentCoordinator {
253
/// Check whether any active coordinator has unsaved edits.
254
static func hasAnyUnsavedChanges() -> Bool {
255
activeCoordinators.values.contains { coordinator in
256
- coordinator.tabManager.tabs.contains { $0.pendingChanges.hasChanges }
+ coordinator.changeManager.hasChanges
257
+ || coordinator.tabManager.tabs.contains { $0.pendingChanges.hasChanges }
258
}
259
260
261
+
262
263
/// Collect all tabs from all active coordinators for a given connectionId.
264
static func allTabs(for connectionId: UUID) -> [QueryTab] {
265
activeCoordinators.values
0 commit comments