- refactored the code for the file registration and for the keywords update into its own class to make the main class smaller
- when creating new files the file names are added to the beginning of the keywords list for the usage of Qt auto-completer
This commit is contained in:
@@ -1117,7 +1117,7 @@ class PreferencesUIManager(QtCore.QObject):
|
||||
self.ui.pref_apply_button.setStyleSheet("")
|
||||
self.ui.pref_apply_button.setIcon(QtGui.QIcon(self.ui.app.resource_location + '/apply32.png'))
|
||||
|
||||
self.inform.emit('%s' % _("Preferences applied."))
|
||||
self.inform.emit('%s' % _("Preferences applied.")) # noqa
|
||||
|
||||
# make sure we update the self.current_defaults dict used to undo changes to self.defaults
|
||||
self.defaults.current_defaults.update(self.defaults)
|
||||
|
||||
Reference in New Issue
Block a user