Make the 'load' button usable again after loading has failed.
This commit is contained in:
parent
1833952af1
commit
4b8e2937be
1 changed files with 2 additions and 0 deletions
|
|
@ -117,6 +117,8 @@ class MainWindow(QtMainWindow):
|
||||||
content += '\n%s\n' % to_unicode(backtrace)
|
content += '\n%s\n' % to_unicode(backtrace)
|
||||||
QMessageBox.critical(self, self.tr('Error while loading page'),
|
QMessageBox.critical(self, self.tr('Error while loading page'),
|
||||||
content, QMessageBox.Ok)
|
content, QMessageBox.Ok)
|
||||||
|
self.ui.saveButton.setEnabled(True)
|
||||||
|
self.ui.saveButton.setText("Load")
|
||||||
|
|
||||||
def savePage(self):
|
def savePage(self):
|
||||||
if self.backend is None:
|
if self.backend is None:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue