diff options
author | mae <qt-info@nokia.com> | 2010-08-08 15:28:37 +0200 |
---|---|---|
committer | mae <qt-info@nokia.com> | 2010-08-08 15:28:37 +0200 |
commit | cdf9d03e62fcd5b2bc9d2d29402733de0f012866 (patch) | |
tree | 0dd473443a6c695b8fbf0b29dcb43a9953f6a3a5 /src/plugins/texteditor | |
parent | ec1d555a3b7e431f5c8048c726765a463ad820ce (diff) | |
download | qt-creator-cdf9d03e62fcd5b2bc9d2d29402733de0f012866.tar.gz |
Fix (Un)FoldAll action naming
The action was forgotten in the rename from collapse to fold.
Diffstat (limited to 'src/plugins/texteditor')
-rw-r--r-- | src/plugins/texteditor/texteditoractionhandler.cpp | 2 | ||||
-rw-r--r-- | src/plugins/texteditor/texteditorconstants.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp index ce03aae9fc..ae72919a02 100644 --- a/src/plugins/texteditor/texteditoractionhandler.cpp +++ b/src/plugins/texteditor/texteditoractionhandler.cpp @@ -208,7 +208,7 @@ void TextEditorActionHandler::createActions() connect(m_unfoldAction, SIGNAL(triggered()), this, SLOT(unfold())); advancedMenu->addAction(command, Core::Constants::G_EDIT_COLLAPSING); - m_unfoldAllAction = new QAction(tr("(Un)&Collapse All"), this); + m_unfoldAllAction = new QAction(tr("(Un)&Fold All"), this); command = am->registerAction(m_unfoldAllAction, Constants::UNFOLD_ALL, m_contextId); connect(m_unfoldAllAction, SIGNAL(triggered()), this, SLOT(unfoldAll())); advancedMenu->addAction(command, Core::Constants::G_EDIT_COLLAPSING); diff --git a/src/plugins/texteditor/texteditorconstants.h b/src/plugins/texteditor/texteditorconstants.h index e1c6b12deb..7de9f231b7 100644 --- a/src/plugins/texteditor/texteditorconstants.h +++ b/src/plugins/texteditor/texteditorconstants.h @@ -45,7 +45,7 @@ const char * const UN_COMMENT_SELECTION = "TextEditor.UnCommentSelection"; const char * const REFORMAT = "TextEditor.Reformat"; const char * const FOLD = "TextEditor.Fold"; const char * const UNFOLD = "TextEditor.Unfold"; -const char * const UNFOLD_ALL = "TextEditor.UnCollapseAll"; +const char * const UNFOLD_ALL = "TextEditor.UnFoldAll"; const char * const AUTO_INDENT_SELECTION = "TextEditor.AutoIndentSelection"; const char * const INCREASE_FONT_SIZE = "TextEditor.IncreaseFontSize"; const char * const DECREASE_FONT_SIZE = "TextEditor.DecreaseFontSize"; |