1
0
forked from M-Labs/artiq

browser: disable quickstyle

This commit is contained in:
Simon Renblad 2024-04-11 11:01:34 +08:00 committed by Sébastien Bourdeauducq
parent f9a447e8e0
commit 4a2352c2df

View File

@ -369,6 +369,8 @@ class ExperimentsArea(QtWidgets.QMdiArea):
def initialize_submission_arguments(self, arginfo):
arguments = OrderedDict()
for name, (procdesc, group, tooltip) in arginfo.items():
if procdesc["ty"] == "EnumerationValue" and procdesc["quickstyle"]:
procdesc["quickstyle"] = False
state = procdesc_to_entry(procdesc).default_state(procdesc)
arguments[name] = {
"desc": procdesc,