Update training

This commit is contained in:
2025-12-10 15:46:26 +02:00
parent f719c7ec40
commit 5d196c3a4a
5 changed files with 1534 additions and 18 deletions

View File

@@ -297,7 +297,9 @@ class MainWindow(QMainWindow):
# Save window state before closing
self._save_window_state()
# Save annotation tab state if it exists
# Persist tab state and stop background work before exit
if hasattr(self, "training_tab"):
self.training_tab.shutdown()
if hasattr(self, "annotation_tab"):
self.annotation_tab.save_state()