From e790778f6a17fca6c1ce61d72d313e03baa84a32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Schreiner?= Date: Sun, 25 Mar 2012 12:56:00 +0200 Subject: [PATCH] Fix typo. Makes loadButton enabled again after loading has failed. --- weboob/applications/qwebcontentedit/main_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weboob/applications/qwebcontentedit/main_window.py b/weboob/applications/qwebcontentedit/main_window.py index 489631ac..db86cd97 100644 --- a/weboob/applications/qwebcontentedit/main_window.py +++ b/weboob/applications/qwebcontentedit/main_window.py @@ -146,8 +146,8 @@ class MainWindow(QtMainWindow): content += '\n%s\n' % to_unicode(backtrace) QMessageBox.critical(self, self.tr('Error while loading page'), content, QMessageBox.Ok) - self.ui.saveButton.setEnabled(True) - self.ui.saveButton.setText("Load") + self.ui.loadButton.setEnabled(True) + self.ui.loadButton.setText("Load") def savePage(self): """ Saves the current page to the remote site """