showing console details when upgrading fails

This commit is contained in:
Vinicius Moreira
2019-07-12 14:33:14 -03:00
parent 1b8cf8a2f3
commit 9af8b73e23
3 changed files with 28 additions and 6 deletions

View File

@@ -373,10 +373,14 @@ class ManageWindow(QWidget):
self.thread_update.apps_to_update = to_update
self.thread_update.start()
def _finish_update_selected(self):
def _finish_update_selected(self, success: bool):
self.finish_action()
self._release_lock()
self.refresh()
if success:
self.refresh()
else:
self.checkbox_console.setChecked(True)
def _update_action_output(self, output: str):
self.textarea_output.appendPlainText(output)