We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef8b8bf commit 6d15d2cCopy full SHA for 6d15d2c
guidata/dataset/qtitemwidgets.py
@@ -940,7 +940,7 @@ def set_state(self):
940
"""Update the visual status of the widget and disbales/enables it if
941
necessary"""
942
super().set_state()
943
- self.button.setEnabled(not self.is_readonly())
+ self.button.setEnabled(not self.is_readonly() and self.is_active())
944
945
946
class DirectoryWidget(HLayoutMixin, LineEditWidget):
@@ -970,7 +970,7 @@ def set_state(self):
970
971
972
973
974
975
976
class ChoiceWidget(AbstractDataSetWidget):
0 commit comments