Use an enum to pass values to the status bar LEDs

This commit is contained in:
Veronica K. B. Olsen
2021-05-16 16:43:44 +02:00
parent e9ef4fd091
commit 0cad96fdca
4 changed files with 32 additions and 22 deletions
+1 -1
View File
@@ -1109,7 +1109,7 @@ class NWProject():
information to the GUI statusbar.
"""
self.projChanged = bValue
self.theParent.setProjectStatus(self.projChanged)
self.theParent.statusBar.doUpdateProjectStatus(bValue)
if bValue:
# If we've changed the project at all, this should be True
self.projAltered = True