forked from M-Labs/artiq
Correct tooltip inconsistency between browser and dashboard
This commit is contained in:
parent
639066c6d8
commit
e13d8919ff
|
@ -64,7 +64,7 @@ class _ArgumentEditor(QtWidgets.QTreeWidget):
|
||||||
|
|
||||||
entry = procdesc_to_entry(argument["desc"])(argument)
|
entry = procdesc_to_entry(argument["desc"])(argument)
|
||||||
widget_item = QtWidgets.QTreeWidgetItem([name])
|
widget_item = QtWidgets.QTreeWidgetItem([name])
|
||||||
if argument.get("tooltip", None):
|
if argument["tooltip"]:
|
||||||
widget_item.setToolTip(0, argument["tooltip"])
|
widget_item.setToolTip(0, argument["tooltip"])
|
||||||
widgets["entry"] = entry
|
widgets["entry"] = entry
|
||||||
widgets["widget_item"] = widget_item
|
widgets["widget_item"] = widget_item
|
||||||
|
|
Loading…
Reference in New Issue