mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
start animation only if checkbox is visible
This commit is contained in:
parent
227afc9b37
commit
29997bb781
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ class NiceCheckbox(QtWidgets.QFrame):
|
|||
if self._animation_timer.isActive():
|
||||
self._animation_timer.stop()
|
||||
|
||||
if self.isEnabled():
|
||||
if self.isVisible() and self.isEnabled():
|
||||
# Start animation
|
||||
self._animation_timer.start(self._animation_timeout)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue