diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp index ce03aae9fc3436fa6808964d58dc628592880e9d..ae72919a027655e5628dedd8e5574ecbb893dd57 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 e1c6b12debe23462075a01f706d0893bbaf69e37..7de9f231b767e5cfbcf42af96d578388ff59185c 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";