Skip to content

Commit

Permalink
argument_editor: Fix BoolParam for Qt6
Browse files Browse the repository at this point in the history
This fixes a regression introduced in
ea7dfc8.
  • Loading branch information
dnadlinger committed Sep 22, 2024
1 parent 18b8fa7 commit 5b54417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndscan/dashboard/argument_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@ def build_ui(self, layout: QtWidgets.QLayout) -> None:
dummy_box = QtWidgets.QCheckBox()
dummy_box.setTristate()
dummy_box.setEnabled(False)
dummy_box.setCheckState(1)
dummy_box.setChecked(True)
layout.addWidget(dummy_box)
layout.setStretchFactor(dummy_box, 0)
layout.addWidget(make_divider())
Expand Down

0 comments on commit 5b54417

Please sign in to comment.