forked from M-Labs/artiq
1
0
Fork 0

gui/explorer: add CTRL+S shortcut to submit

This commit is contained in:
Sebastien Bourdeauducq 2015-10-24 19:19:12 +08:00
parent 53a9d7eb9a
commit 5ae9bbc0ca
1 changed files with 2 additions and 0 deletions

View File

@ -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)