--- a/eric6/Tools/TrayStarter.py Mon Apr 26 17:33:08 2021 +0200 +++ b/eric6/Tools/TrayStarter.py Tue Apr 27 17:25:06 2021 +0200 @@ -486,10 +486,12 @@ """ Private slot to set the preferences. """ - from Preferences.ConfigurationDialog import ConfigurationDialog + from Preferences.ConfigurationDialog import ( + ConfigurationDialog, ConfigurationMode + ) dlg = ConfigurationDialog( None, 'Configuration', True, fromEric=True, - displayMode=ConfigurationDialog.TrayStarterMode) + displayMode=ConfigurationMode.TRAYSTARTERMODE) dlg.preferencesChanged.connect(self.preferencesChanged) dlg.show() dlg.showConfigurationPageByName("trayStarterPage")