Templates/TemplatePropertiesDialog.py

changeset 3492
ae74a7201759
parent 3190
a9a94491c4fd
child 3515
1b8381afe38f
--- a/Templates/TemplatePropertiesDialog.py	Mon Apr 07 18:46:02 2014 +0200
+++ b/Templates/TemplatePropertiesDialog.py	Mon Apr 07 19:16:36 2014 +0200
@@ -14,6 +14,8 @@
 
 from E5Gui import E5MessageBox
 
+import Preferences
+
 
 class TemplatePropertiesDialog(QDialog, Ui_TemplatePropertiesDialog):
     """
@@ -31,6 +33,8 @@
         super().__init__(parent)
         self.setupUi(self)
         
+        self.templateEdit.setFont(Preferences.getTemplates("EditorFont"))
+        
         if not groupMode:
             self.nameEdit.setWhatsThis(self.tr(
                 """<b>Template name<b><p>Enter the name of the template."""

eric ide

mercurial