forked from M-Labs/artiq
gui/explorer: add CTRL+S shortcut to submit
This commit is contained in:
parent
53a9d7eb9a
commit
5ae9bbc0ca
|
@ -263,6 +263,8 @@ class ExplorerDock(dockarea.Dock):
|
||||||
grid.addWidget(self.log_level, 3, 3)
|
grid.addWidget(self.log_level, 3, 3)
|
||||||
|
|
||||||
submit = QtGui.QPushButton("Submit")
|
submit = QtGui.QPushButton("Submit")
|
||||||
|
submit.setShortcut("CTRL+S")
|
||||||
|
submit.setToolTip("Schedule the selected experiment (CTRL+S)")
|
||||||
grid.addWidget(submit, 4, 0, colspan=4)
|
grid.addWidget(submit, 4, 0, colspan=4)
|
||||||
submit.clicked.connect(self.submit_clicked)
|
submit.clicked.connect(self.submit_clicked)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue