forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 2 additions and 0 deletions

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,