From 44a95b5ddaded40c25043702411d068d9dbd4ab8 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 17 Dec 2023 16:37:02 +0800 Subject: [PATCH] dashboard: add repository revision clear button --- artiq/dashboard/experiments.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/dashboard/experiments.py b/artiq/dashboard/experiments.py index 74c3496a9..762a85df2 100644 --- a/artiq/dashboard/experiments.py +++ b/artiq/dashboard/experiments.py @@ -333,6 +333,7 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow): if "repo_rev" in options: repo_rev = QtWidgets.QLineEdit() repo_rev.setPlaceholderText("current") + repo_rev.setClearButtonEnabled(True) repo_rev_label = QtWidgets.QLabel("Revision:") repo_rev_label.setToolTip("Experiment repository revision " "(commit ID) to use")