Skip to content

Commit

Permalink
Merge pull request #3649 from ob7/add-link-shortcut-key
Browse files Browse the repository at this point in the history
Add Keyboard Shortcut (Ctrl+L) for Add Link Tool
  • Loading branch information
grossmj authored Oct 24, 2024
2 parents a3a0be8 + 24fff89 commit bd15734
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gns3/ui/main_window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1152,6 +1152,9 @@ background-none;
<property name="statusTip">
<string>Add a link</string>
</property>
<property name="shortcut">
<string>Ctrl+L</string>
</property>
</action>
<action name="uiFitInViewAction">
<property name="text">
Expand Down
1 change: 1 addition & 0 deletions gns3/ui/main_window_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,7 @@ def retranslateUi(self, MainWindow):
self.uiAddLinkAction.setText(_translate("MainWindow", "Add a link"))
self.uiAddLinkAction.setToolTip(_translate("MainWindow", "Add a link"))
self.uiAddLinkAction.setStatusTip(_translate("MainWindow", "Add a link"))
self.uiAddLinkAction.setShortcut(_translate("MainWindow", "Ctrl+L"))
self.uiFitInViewAction.setText(_translate("MainWindow", "Fit in view"))
self.uiFitInViewAction.setShortcut(_translate("MainWindow", "Ctrl+1"))
self.uiActionFullscreen.setText(_translate("MainWindow", "Fullscreen"))
Expand Down

0 comments on commit bd15734

Please sign in to comment.