forked from M-Labs/artiq
1
0
Fork 0

Correct tooltip inconsistency between browser and dashboard

This commit is contained in:
Chris Ballance 2017-02-03 09:48:38 +00:00 committed by Sébastien Bourdeauducq
parent 639066c6d8
commit e13d8919ff
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class _ArgumentEditor(QtWidgets.QTreeWidget):
entry = procdesc_to_entry(argument["desc"])(argument)
widget_item = QtWidgets.QTreeWidgetItem([name])
if argument.get("tooltip", None):
if argument["tooltip"]:
widget_item.setToolTip(0, argument["tooltip"])
widgets["entry"] = entry
widgets["widget_item"] = widget_item