--- a/eric6/Preferences/ConfigurationPages/PythonPage.py Sat Sep 19 19:04:21 2020 +0200 +++ b/eric6/Preferences/ConfigurationPages/PythonPage.py Sun Sep 20 18:32:28 2020 +0200 @@ -46,6 +46,20 @@ self.py3EnvironmentEdit.setText( Preferences.getDebugger("Python3VirtualEnv")) + + # colours + self.initColour("ASTViewerErrorColor", + self.astErrorItemButton, + Preferences.getPython) + self.initColour("DisViewerErrorColor", + self.disErrorItemButton, + Preferences.getPython) + self.initColour("DisViewerCurrentColor", + self.disCurrentInstructionButton, + Preferences.getPython) + self.initColour("DisViewerLabeledColor", + self.disLabeledInstructionButton, + Preferences.getPython) def save(self): """ @@ -64,6 +78,9 @@ Preferences.setDebugger( "Python3Extensions", self.py3ExtensionsEdit.text()) + + # colours + self.saveColours(Preferences.setPython) @pyqtSlot() def on_refreshButton_clicked(self):