mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-26 03:38:25 +08:00
dashboard: add repository revision clear button
This commit is contained in:
parent
645b9b8c5f
commit
44a95b5dda
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user