mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
disable buttons of tools that are not turned on
This commit is contained in:
parent
33764f6e16
commit
29d1c47a58
1 changed files with 3 additions and 0 deletions
|
|
@ -112,6 +112,9 @@ class ExperimentalToolsDialog(QtWidgets.QDialog):
|
|||
"\n\nOpenPype Tray > Settings > Experimental Tools"
|
||||
))
|
||||
|
||||
if tool.enabled != button.isEnabled():
|
||||
button.setEnabled(tool.enabled)
|
||||
|
||||
for identifier in buttons_to_remove:
|
||||
button = self._buttons_by_tool_identifier.pop(identifier)
|
||||
button.setVisible(False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue