--- a/src/eric7/Preferences/ConfigurationPages/ApplicationPage.py Tue Jul 09 17:20:18 2024 +0200 +++ b/src/eric7/Preferences/ConfigurationPages/ApplicationPage.py Tue Jul 09 18:09:27 2024 +0200 @@ -50,9 +50,6 @@ Preferences.getUI("SingleApplicationMode") ) self.splashScreenCheckBox.setChecked(Preferences.getUI("ShowSplash")) - self.crashSessionEnabledCheckBox.setChecked( - Preferences.getUI("CrashSessionEnabled") - ) self.globalMenuCheckBox.setChecked(Preferences.getUI("UseNativeMenuBar")) if not OSUtilities.isLinuxPlatform() and not OSUtilities.isFreeBsdPlatform(): self.globalMenuCheckBox.hide() @@ -68,9 +65,6 @@ self.lastMultiprojectRadioButton.setChecked(True) elif openOnStartup == 4: self.globalSessionRadioButton.setChecked(True) - self.openCrashSessionCheckBox.setChecked( - Preferences.getUI("OpenCrashSessionOnStartup") - ) period = Preferences.getUI("PerformVersionCheck") if period == 0: @@ -84,6 +78,16 @@ elif period == 4: self.monthlyCheckRadioButton.setChecked(True) + self.crashSessionEnabledCheckBox.setChecked( + Preferences.getUI("CrashSessionEnabled") + ) + self.openCrashSessionCheckBox.setChecked( + Preferences.getUI("OpenCrashSessionOnStartup") + ) + self.deleteCrashSessionCheckBox.setChecked( + Preferences.getUI("DeleteLoadedCrashSession") + ) + self.systemEmailClientCheckBox.setChecked( Preferences.getUser("UseSystemEmailClient") ) @@ -110,9 +114,6 @@ "SingleApplicationMode", self.singleApplicationCheckBox.isChecked() ) Preferences.setUI("ShowSplash", self.splashScreenCheckBox.isChecked()) - Preferences.setUI( - "CrashSessionEnabled", self.crashSessionEnabledCheckBox.isChecked() - ) if OSUtilities.isLinuxPlatform() or OSUtilities.isFreeBsdPlatform(): Preferences.setUI("UseNativeMenuBar", self.globalMenuCheckBox.isChecked()) @@ -127,9 +128,6 @@ elif self.globalSessionRadioButton.isChecked(): openOnStartup = 4 Preferences.setUI("OpenOnStartup", openOnStartup) - Preferences.setUI( - "OpenCrashSessionOnStartup", self.openCrashSessionCheckBox.isChecked() - ) if self.noCheckRadioButton.isChecked(): period = 0 @@ -143,6 +141,16 @@ period = 4 Preferences.setUI("PerformVersionCheck", period) + Preferences.setUI( + "CrashSessionEnabled", self.crashSessionEnabledCheckBox.isChecked() + ) + Preferences.setUI( + "OpenCrashSessionOnStartup", self.openCrashSessionCheckBox.isChecked() + ) + Preferences.setUI( + "DeleteLoadedCrashSession", self.deleteCrashSessionCheckBox.isChecked() + ) + Preferences.setUser( "UseSystemEmailClient", self.systemEmailClientCheckBox.isChecked() )