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

View File

@ -263,6 +263,8 @@ class ExplorerDock(dockarea.Dock):
grid.addWidget(self.log_level, 3, 3)
submit = QtGui.QPushButton("Submit")
submit.setShortcut("CTRL+S")
submit.setToolTip("Schedule the selected experiment (CTRL+S)")
grid.addWidget(submit, 4, 0, colspan=4)
submit.clicked.connect(self.submit_clicked)