mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 20:14:14 +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()
|
self.click()
|
||||||
|
|
||||||
def change_state(self, not_checked: bool):
|
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.setIcon(self.icon_on if not not_checked else self.icon_off)
|
||||||
self.root.change_update_state()
|
self.root.change_update_state()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user