ProjectDjangoTagsMenu/IeCommentDialog.py

changeset 49
ef6c805ae218
parent 47
825bf5861f89
child 51
29c461f7bea0
diff -r ba771c089e44 -r ef6c805ae218 ProjectDjangoTagsMenu/IeCommentDialog.py
--- a/ProjectDjangoTagsMenu/IeCommentDialog.py	Tue Jun 23 17:52:47 2020 +0200
+++ b/ProjectDjangoTagsMenu/IeCommentDialog.py	Wed Oct 14 18:55:22 2020 +0200
@@ -52,7 +52,7 @@
             state (boolean)
         """
         dlg = IeCommentDialog()
-        if dlg.exec_() == QDialog.Accepted:
+        if dlg.exec() == QDialog.Accepted:
             condition, version = dlg.getData()
             tag = '[if{0} IE {1}]> {2} <![endif]'.format(
                 condition, version, selectedText)

eric ide

mercurial