diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp index 4224b504433..d22f8c96570 100644 --- a/src/plugins/texteditor/texteditoractionhandler.cpp +++ b/src/plugins/texteditor/texteditoractionhandler.cpp @@ -565,4 +565,9 @@ TextEditorActionHandler::~TextEditorActionHandler() delete d; } +void TextEditorActionHandler::updateCurrentEditor() +{ + d->updateCurrentEditor(Core::EditorManager::currentEditor()); +} + } // namespace TextEditor diff --git a/src/plugins/texteditor/texteditoractionhandler.h b/src/plugins/texteditor/texteditoractionhandler.h index 2bdb8efff3e..ce19e8535f9 100644 --- a/src/plugins/texteditor/texteditoractionhandler.h +++ b/src/plugins/texteditor/texteditoractionhandler.h @@ -49,6 +49,8 @@ public: uint optionalActions() const; ~TextEditorActionHandler(); + void updateCurrentEditor(); + private: Internal::TextEditorActionHandlerPrivate *d; };