Fix typo and left back "print"
This commit is contained in:
+1
-1
@@ -203,7 +203,7 @@ class GuiAbout(QDialog):
|
|||||||
"<p>",
|
"<p>",
|
||||||
("%s<br/>" % self.tr("<b>{0}:</b> {1}").format(
|
("%s<br/>" % self.tr("<b>{0}:</b> {1}").format(
|
||||||
self.tr("Author"), theTheme.syntaxAuthor)),
|
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("Credit"), theTheme.syntaxCredit)),
|
||||||
(self.tr("<b>{0}:</b> {1}").format(
|
(self.tr("<b>{0}:</b> {1}").format(
|
||||||
self.tr("License"),
|
self.tr("License"),
|
||||||
|
|||||||
@@ -1130,7 +1130,6 @@ class GuiMain(QMainWindow):
|
|||||||
"""Ask the user a Yes/No question.
|
"""Ask the user a Yes/No question.
|
||||||
"""
|
"""
|
||||||
msgBox = QMessageBox()
|
msgBox = QMessageBox()
|
||||||
print(msgBox.standardButtons())
|
|
||||||
msgRes = msgBox.question(self, theTitle, theQuestion, QMessageBox.Yes | QMessageBox.No)
|
msgRes = msgBox.question(self, theTitle, theQuestion, QMessageBox.Yes | QMessageBox.No)
|
||||||
return msgRes == QMessageBox.Yes
|
return msgRes == QMessageBox.Yes
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user