From e13d8919ff663d5d39279d317cf49b425b95cf2c Mon Sep 17 00:00:00 2001 From: Chris Ballance Date: Fri, 3 Feb 2017 09:48:38 +0000 Subject: [PATCH] Correct tooltip inconsistency between browser and dashboard --- artiq/browser/experiments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/browser/experiments.py b/artiq/browser/experiments.py index dab067207..4a6c1f46c 100644 --- a/artiq/browser/experiments.py +++ b/artiq/browser/experiments.py @@ -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