Skip to content

Commit 3534f64

Browse files
committed
Fix: update action handler condition to require results for label checkbox visibility
1 parent eee4d8e commit 3534f64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

datalab/gui/panel/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2889,7 +2889,7 @@ def add_objprop_buttons(self) -> None:
28892889
self.objprop.add_button(self.show_label_checkbox)
28902890
self.acthandler.add_action(
28912891
self.show_label_checkbox,
2892-
select_condition=actionhandler.SelectCond.at_least_one,
2892+
select_condition=actionhandler.SelectCond.with_results,
28932893
)
28942894

28952895
self.__new_objprop_button(

0 commit comments

Comments
 (0)