Templates/TemplatePropertiesDialog.py

branch
Py2 comp.
changeset 3515
1b8381afe38f
parent 3484
645c12de6b0c
parent 3492
ae74a7201759
child 3591
2f2a4a76dd22
--- a/Templates/TemplatePropertiesDialog.py	Sun Apr 13 15:45:57 2014 +0200
+++ b/Templates/TemplatePropertiesDialog.py	Tue Apr 15 22:41:08 2014 +0200
@@ -16,6 +16,8 @@
 
 from E5Gui import E5MessageBox
 
+import Preferences
+
 
 class TemplatePropertiesDialog(QDialog, Ui_TemplatePropertiesDialog):
     """
@@ -33,6 +35,8 @@
         super(TemplatePropertiesDialog, self).__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