mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 10:54:16 +02:00
fix: not keeping the update toggle-button state after a filter is applied
This commit is contained in:
@@ -64,8 +64,7 @@ class AsyncAction(QThread, ProcessWatcher):
|
||||
self.signal_status.emit(status)
|
||||
|
||||
def change_substatus(self, substatus: str):
|
||||
if substatus:
|
||||
self.signal_substatus.emit(substatus)
|
||||
self.signal_substatus.emit(substatus)
|
||||
|
||||
def change_progress(self, val: int):
|
||||
if val is not None:
|
||||
@@ -96,6 +95,7 @@ class UpdateSelectedApps(AsyncAction):
|
||||
|
||||
self.change_status('{} {} {}...'.format(self.locale_keys['manage_window.status.upgrading'], name, app.model.version))
|
||||
success = bool(self.manager.update(app.model, self.root_password, self))
|
||||
self.change_substatus('')
|
||||
|
||||
if not success:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user