diff options
| -rw-r--r-- | mainwindow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mainwindow.py b/mainwindow.py index 3ea4f58..4b2d567 100644 --- a/mainwindow.py +++ b/mainwindow.py @@ -239,7 +239,7 @@ class MainWindow(QtCore.QObject): def updateComponentTitle(self, pos, presetStore=False): if type(presetStore) == dict: name = presetStore['preset'] - if name == None: + if name == None or name not in self.core.savedPresets: modified = False else: modified = (presetStore != self.core.savedPresets[name]) |
