49 self.monospacedFont = Preferences.getHexEditor("Font") |
49 self.monospacedFont = Preferences.getHexEditor("Font") |
50 self.monospacedFontSample.setFont(self.monospacedFont) |
50 self.monospacedFontSample.setFont(self.monospacedFont) |
51 |
51 |
52 def save(self): |
52 def save(self): |
53 """ |
53 """ |
54 Public slot to save the IRC configuration. |
54 Public slot to save the HexEditor configuration. |
55 """ |
55 """ |
56 Preferences.setHexEditor("OpenReadOnly", self.readOnlyCheckBox.isChecked()) |
56 Preferences.setHexEditor("OpenReadOnly", self.readOnlyCheckBox.isChecked()) |
57 Preferences.setHexEditor( |
57 Preferences.setHexEditor( |
58 "OpenInOverwriteMode", self.overwriteCheckBox.isChecked() |
58 "OpenInOverwriteMode", self.overwriteCheckBox.isChecked() |
59 ) |
59 ) |