Fix typo and left back "print"

This commit is contained in:
Bruno Meneguello
2021-02-15 09:37:45 -03:00
parent 5e30e1a2ee
commit d506cf2d2a
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ class GuiAbout(QDialog):
"<p>",
("%s<br/>" % self.tr("<b>{0}:</b> {1}").format(
self.tr("Author"), theTheme.syntaxAuthor)),
("%s<br/>" % self.tr("<b>{0{0}</b> {{1}").format(
("%s<br/>" % self.tr("<b>{0}</b> {1}").format(
self.tr("Credit"), theTheme.syntaxCredit)),
(self.tr("<b>{0}:</b> {1}").format(
self.tr("License"),
-1
View File
@@ -1130,7 +1130,6 @@ class GuiMain(QMainWindow):
"""Ask the user a Yes/No question.
"""
msgBox = QMessageBox()
print(msgBox.standardButtons())
msgRes = msgBox.question(self, theTitle, theQuestion, QMessageBox.Yes | QMessageBox.No)
return msgRes == QMessageBox.Yes