fix: keeping upgrade button enabled when there are no upgrades selected

This commit is contained in:
Vinicius Moreira
2019-07-12 10:25:34 -03:00
parent a8bc8ffb3b
commit 9df53f080a

View File

@@ -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()