2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

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

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