Fix typo. Makes loadButton enabled again after loading has failed.

This commit is contained in:
Clément Schreiner 2012-03-25 12:56:00 +02:00
commit e790778f6a

View file

@ -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 """