disable buttons of tools that are not turned on

This commit is contained in:
iLLiCiTiT 2021-10-21 15:12:12 +02:00
parent 33764f6e16
commit 29d1c47a58

View file

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