From 5b544173d228b8cbbcce126cbb62448fc9b56990 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sun, 22 Sep 2024 22:30:39 +0100 Subject: [PATCH] argument_editor: Fix BoolParam for Qt6 This fixes a regression introduced in ea7dfc898b90919f71c84d7d61f2f3fbe0d324c6. --- ndscan/dashboard/argument_editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ndscan/dashboard/argument_editor.py b/ndscan/dashboard/argument_editor.py index 843ecb88..6a017284 100644 --- a/ndscan/dashboard/argument_editor.py +++ b/ndscan/dashboard/argument_editor.py @@ -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())