Skip to content

Commit e8da374

Browse files
authored
Merge pull request #13 from AlePini/client/shortcut
Client/shortcut
2 parents 643fdf7 + b529cf6 commit e8da374

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rcm/client/gui/ssh_session_widget.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,13 @@ def init_ui(self):
276276
new_display_btn.setIcon(new_display_ico)
277277
new_display_btn.setToolTip('Create a new display session')
278278
new_display_btn.clicked.connect(self.add_new_display)
279+
new_display_btn.setShortcut(Qt.Key_Plus)
279280

280281
reload_btn = QPushButton()
281282
reload_btn.setIcon(self.style().standardIcon(QStyle.SP_BrowserReload))
282283
reload_btn.setToolTip('Reload the page')
283284
reload_btn.clicked.connect(self.reload)
285+
reload_btn.setShortcut("F5")
284286

285287
new_display_layout = QHBoxLayout()
286288
new_display_layout.addSpacing(70)

0 commit comments

Comments
 (0)