Skip to content

Commit

Permalink
Changes for handling Shortcuts with traitlets in consoleWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbautista committed Sep 9, 2024
1 parent cfe85aa commit 43524ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qtconsole/console_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def __init__(self, parent=None, **kw):
# Only override the default if there is a collision.
# Qt ctrl = cmd on OSX, so the match gets a false positive on OSX.
self.shortcut_manager.shortcut_select_all = "Ctrl+Shift+A"
action.setShortcut(self.shortcut_manager.shortcut_print)
action.setShortcut(self.shortcut_manager.shortcut_select_all)
action.setShortcutContext(QtCore.Qt.WidgetWithChildrenShortcut)
action.triggered.connect(self.select_all_smart)
self.addAction(action)
Expand Down

0 comments on commit 43524ac

Please sign in to comment.