forked from M-Labs/artiq
1
0
Fork 0

dashboard: add repository revision clear button

This commit is contained in:
Sebastien Bourdeauducq 2023-12-17 16:37:02 +08:00
parent 645b9b8c5f
commit 44a95b5dda
1 changed files with 1 additions and 0 deletions

View File

@ -333,6 +333,7 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow):
if "repo_rev" in options: if "repo_rev" in options:
repo_rev = QtWidgets.QLineEdit() repo_rev = QtWidgets.QLineEdit()
repo_rev.setPlaceholderText("current") repo_rev.setPlaceholderText("current")
repo_rev.setClearButtonEnabled(True)
repo_rev_label = QtWidgets.QLabel("Revision:") repo_rev_label = QtWidgets.QLabel("Revision:")
repo_rev_label.setToolTip("Experiment repository revision " repo_rev_label.setToolTip("Experiment repository revision "
"(commit ID) to use") "(commit ID) to use")