Preferences/ConfigurationPages/HexEditorPage.py

changeset 4673
6fa2418f010c
parent 4658
d760763dcc4a
child 4676
c65b401b775e
--- a/Preferences/ConfigurationPages/HexEditorPage.py	Sun Jan 17 12:18:55 2016 +0100
+++ b/Preferences/ConfigurationPages/HexEditorPage.py	Sun Jan 17 12:57:23 2016 +0100
@@ -11,6 +11,7 @@
 from __future__ import unicode_literals
 
 from PyQt5.QtCore import pyqtSlot
+from PyQt5.QtWidgets import QFontDialog
 
 from .ConfigurationPageBase import ConfigurationPageBase
 from .Ui_HexEditorPage import Ui_HexEditorPage
@@ -96,7 +97,8 @@
         Private method used to select the font to be used.
         """
         self.monospacedFont = self.selectFont(
-            self.monospacedFontSample, self.monospacedFont)
+            self.monospacedFontSample, self.monospacedFont,
+            options=QFontDialog.MonospacedFonts)
     
     def polishPage(self):
         """

eric ide

mercurial