mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 09:54:14 +02:00
fix: not keeping the update toggle-button state after a filter is applied
This commit is contained in:
@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
### Improvements
|
### Improvements
|
||||||
- 3 password attempts for root authentication
|
- 3 password attempts for root authentication
|
||||||
- not changing the table applied filters after a uninstall
|
- not changing the table applied filters after a uninstall
|
||||||
|
- cleaning the progress bar substatus after each upgrade
|
||||||
- AppImage:
|
- AppImage:
|
||||||
- showing an error popup when **AppImageLauncher** messes up with an application installation
|
- showing an error popup when **AppImageLauncher** messes up with an application installation
|
||||||
- Flatpak:
|
- Flatpak:
|
||||||
@@ -37,6 +38,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
- application not initializing when there is no internet connection
|
- application not initializing when there is no internet connection
|
||||||
- not loading application icons after some filters are applied to the table results
|
- not loading application icons after some filters are applied to the table results
|
||||||
- not reloading the available categories after asynchronous data is fetched
|
- not reloading the available categories after asynchronous data is fetched
|
||||||
|
- not keeping the update toggle-button state after a filter is applied
|
||||||
- AUR:
|
- AUR:
|
||||||
- update-checking for some scenarios
|
- update-checking for some scenarios
|
||||||
- not respecting **ignorepkg** settings in **pacman.conf**
|
- not respecting **ignorepkg** settings in **pacman.conf**
|
||||||
|
|||||||
@@ -231,7 +231,7 @@ class AppsTable(QTableWidget):
|
|||||||
col_update = None
|
col_update = None
|
||||||
|
|
||||||
if update_check_enabled and pkg.model.update:
|
if update_check_enabled and pkg.model.update:
|
||||||
col_update = UpdateToggleButton(pkg, self.window, self.i18n, pkg.model.update)
|
col_update = UpdateToggleButton(pkg, self.window, self.i18n, pkg.update_checked)
|
||||||
|
|
||||||
self.setCellWidget(pkg.table_index, 7, col_update)
|
self.setCellWidget(pkg.table_index, 7, col_update)
|
||||||
|
|
||||||
|
|||||||
@@ -64,8 +64,7 @@ class AsyncAction(QThread, ProcessWatcher):
|
|||||||
self.signal_status.emit(status)
|
self.signal_status.emit(status)
|
||||||
|
|
||||||
def change_substatus(self, substatus: str):
|
def change_substatus(self, substatus: str):
|
||||||
if substatus:
|
self.signal_substatus.emit(substatus)
|
||||||
self.signal_substatus.emit(substatus)
|
|
||||||
|
|
||||||
def change_progress(self, val: int):
|
def change_progress(self, val: int):
|
||||||
if val is not None:
|
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))
|
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))
|
success = bool(self.manager.update(app.model, self.root_password, self))
|
||||||
|
self.change_substatus('')
|
||||||
|
|
||||||
if not success:
|
if not success:
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user