mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 05:54:15 +02:00
fix: keeping upgrade button enabled when there are no upgrades selected
This commit is contained in:
@@ -33,7 +33,7 @@ class UpdateToggleButton(QToolButton):
|
||||
self.click()
|
||||
|
||||
def change_state(self, not_checked: bool):
|
||||
self.app_view.updated_checked = not not_checked
|
||||
self.app_view.update_checked = not not_checked
|
||||
self.setIcon(self.icon_on if not not_checked else self.icon_off)
|
||||
self.root.change_update_state()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user