From 91a57f303b232c82065815322ca2dea354631fa2 Mon Sep 17 00:00:00 2001 From: Nils <> Date: Sat, 11 Apr 2020 18:43:36 +0200 Subject: [PATCH] make sure we start as nsm clean --- qtgui/mainwindow.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qtgui/mainwindow.py b/qtgui/mainwindow.py index 7b714e5..ce9e50b 100644 --- a/qtgui/mainwindow.py +++ b/qtgui/mainwindow.py @@ -123,6 +123,10 @@ class MainWindow(TemplateMainWindow): #Now all tracks and items from a loaded backend-file are created. We can setup the initial editMode and viewPort. self.scoreView.updateMode() #hide CCs at program start and other stuff self.scoreView.scoreScene.grid.redrawTickGrid() #Init the grid only after everything got loaded and drawn to prevent a gap in the display. #TODO: which might be a bug. but this here works fine. + + #There is so much going on in the engine, we never reach a save status on load. + #Here is the crowbar-method. + self.nsmClient.announceSaveStatus(isClean = True) def zoom(self, scaleFactor:float):