From 4b8e2937be9458f98c1dda973e9046ebc7a9cd5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Schreiner?= Date: Sun, 25 Mar 2012 08:57:29 +0200 Subject: [PATCH] Make the 'load' button usable again after loading has failed. --- weboob/applications/qwebcontentedit/main_window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/weboob/applications/qwebcontentedit/main_window.py b/weboob/applications/qwebcontentedit/main_window.py index caa4a3db..775ae90d 100644 --- a/weboob/applications/qwebcontentedit/main_window.py +++ b/weboob/applications/qwebcontentedit/main_window.py @@ -117,6 +117,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") def savePage(self): if self.backend is None: