eric7/Preferences/ConfigurationPages/HexEditorPage.py

branch
eric7
changeset 8875
67c3ea933787
parent 8319
ea11a3948f40
child 8881
54e42bc2437a
diff -r ccd99849803e -r 67c3ea933787 eric7/Preferences/ConfigurationPages/HexEditorPage.py
--- a/eric7/Preferences/ConfigurationPages/HexEditorPage.py	Tue Dec 28 19:10:38 2021 +0100
+++ b/eric7/Preferences/ConfigurationPages/HexEditorPage.py	Wed Dec 29 16:38:32 2021 +0100
@@ -48,26 +48,6 @@
         # font
         self.monospacedFont = Preferences.getHexEditor("Font")
         self.monospacedFontSample.setFont(self.monospacedFont)
-
-        # colours
-        self.initColour("HighlightingBackGround",
-                        self.highlightingBackGroundButton,
-                        Preferences.getHexEditor)
-        self.initColour("HighlightingForeGround",
-                        self.highlightingForeGroundButton,
-                        Preferences.getHexEditor)
-        self.initColour("SelectionBackGround",
-                        self.selectionBackGroundButton,
-                        Preferences.getHexEditor)
-        self.initColour("SelectionForeGround",
-                        self.selectionForeGroundButton,
-                        Preferences.getHexEditor)
-        self.initColour("AddressAreaBackGround",
-                        self.addressAreaBackGroundButton,
-                        Preferences.getHexEditor)
-        self.initColour("AddressAreaForeGround",
-                        self.addressAreaForeGroundButton,
-                        Preferences.getHexEditor)
     
     def save(self):
         """
@@ -89,9 +69,6 @@
             "Font", self.monospacedFont)
         Preferences.setHexEditor(
             "RecentNumber", self.recentFilesSpinBox.value())
-        
-        # colours
-        self.saveColours(Preferences.setHexEditor)
     
     @pyqtSlot()
     def on_monospacedFontButton_clicked(self):

eric ide

mercurial