mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 20:04:15 +02:00
Toggle button fix
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@ env
|
|||||||
*.pyc
|
*.pyc
|
||||||
.idea
|
.idea
|
||||||
__pycache__
|
__pycache__
|
||||||
|
*.orig
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ class UpdateToggleButton(QToolButton):
|
|||||||
def change_state(self, not_checked: bool):
|
def change_state(self, not_checked: bool):
|
||||||
self.model['update_checked'] = not not_checked
|
self.model['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_button_state()
|
self.root.change_update_state()
|
||||||
|
|
||||||
|
|
||||||
class ManageWindow(QWidget):
|
class ManageWindow(QWidget):
|
||||||
|
|||||||
Reference in New Issue
Block a user