ProjectDjangoTagsMenu/IfTagInputDialog.py

changeset 10
ef5694c0bf3a
parent 8
7e8f788fe340
child 16
f2d493540f04
--- a/ProjectDjangoTagsMenu/IfTagInputDialog.py	Sun Feb 09 18:21:45 2014 +0100
+++ b/ProjectDjangoTagsMenu/IfTagInputDialog.py	Mon Feb 10 19:21:55 2014 +0100
@@ -7,6 +7,8 @@
 Module implementing a dialog to enter the parameters for the if tag.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtCore import pyqtSlot
 from PyQt4.QtGui import QDialog, QDialogButtonBox
 
@@ -32,6 +34,8 @@
     def on_ifEdit_textChanged(self, txt):
         """
         Private slot to handle changes of the 'if' expression.
+        
+        @param txt text of the line edit (string)
         """
         self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(bool(txt))
     

eric ide

mercurial