Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-gui
Commits
81013ddc
Commit
81013ddc
authored
Feb 06, 2017
by
Joseph Mirabel
Committed by
Joseph Mirabel
Feb 06, 2017
Browse files
Change default shortcut of dynamic builder to CTRL+M
parent
c1928b96
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyplugins/hpp/gui/dynamicbuild.py
View file @
81013ddc
...
...
@@ -335,7 +335,7 @@ class _DynamicBuilder(QWidget):
def
initActions
(
self
):
self
.
action
=
QAction
(
"Switch mode"
,
self
)
self
.
action
.
connect
(
"triggered()"
,
self
.
switchMode
)
self
.
action
.
setShortcut
(
QKeySequence
(
QNamespace
.
Key_M
))
self
.
action
.
setShortcut
(
QKeySequence
(
QNamespace
.
ControlModifier
+
QNamespace
.
Key_M
))
self
.
addAction
(
self
.
action
)
self
.
mainWindow
.
registerShortcut
(
self
.
plugin
.
windowTitle
,
self
.
action
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment