Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
4442ebcc
Commit
4442ebcc
authored
Jul 21, 2009
by
Thorbjørn Lindeijer
Browse files
Think about the poor Mac users, since they can't have sequence shortcuts
Reminded by con.
parent
62a94773
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/texteditor/texteditoractionhandler.cpp
View file @
4442ebcc
...
...
@@ -143,7 +143,9 @@ void TextEditorActionHandler::createActions()
m_rewrapParagraphAction
=
new
QAction
(
tr
(
"&Rewrap Paragraph"
),
this
);
command
=
am
->
registerAction
(
m_rewrapParagraphAction
,
TextEditor
::
Constants
::
REWRAP_PARAGRAPH
,
m_contextId
);
#ifndef Q_WS_MAC
command
->
setDefaultKeySequence
(
QKeySequence
(
tr
(
"Ctrl+E, R"
)));
#endif
advancedMenu
->
addAction
(
command
,
Core
::
Constants
::
G_EDIT_FORMAT
);
connect
(
m_rewrapParagraphAction
,
SIGNAL
(
triggered
(
bool
)),
this
,
SLOT
(
rewrapParagraphAction
()));
...
...
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