diff --git a/nw/gui/about.py b/nw/gui/about.py index 9e90c5f8..33517fb3 100644 --- a/nw/gui/about.py +++ b/nw/gui/about.py @@ -203,7 +203,7 @@ class GuiAbout(QDialog): "

", ("%s
" % self.tr("{0}: {1}").format( self.tr("Author"), theTheme.syntaxAuthor)), - ("%s
" % self.tr("{0{0} {{1}").format( + ("%s
" % self.tr("{0} {1}").format( self.tr("Credit"), theTheme.syntaxCredit)), (self.tr("{0}: {1}").format( self.tr("License"), diff --git a/nw/guimain.py b/nw/guimain.py index 31872d24..2af04c74 100644 --- a/nw/guimain.py +++ b/nw/guimain.py @@ -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