Fix typo. Makes loadButton enabled again after loading has failed.
This commit is contained in:
parent
76795b27a2
commit
e790778f6a
1 changed files with 2 additions and 2 deletions
|
|
@ -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 """
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue