From d506cf2d2aa9c11f626b6165af3576ad004421c4 Mon Sep 17 00:00:00 2001 From: Bruno Meneguello <1322552+bkmeneguello@users.noreply.github.com> Date: Mon, 15 Feb 2021 09:37:45 -0300 Subject: [PATCH] Fix typo and left back "print" --- nw/gui/about.py | 2 +- nw/guimain.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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