--- 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)