diff options
author | Eike Ziller <eike.ziller@qt.io> | 2023-10-16 16:18:56 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2023-10-17 07:46:02 +0000 |
commit | c2a470e8539af72807911ce465242964bbe308f6 (patch) | |
tree | 69b01b178d2d14a12447fe1aa420c2d28265439c /src/plugins/texteditor/texteditoractionhandler.cpp | |
parent | 54b841f78972b10933059691a0a2b262b0bfc901 (diff) |
Revert "TextEditor: Hide LineNumberFilter implementation"
Fixes missing "Line in Current Document" locator filter.
Locator filters need to be created during startup.
This reverts commit 8af6d16b6c2a0a08ee4f49abdfc7b0a503276bde.
Change-Id: I53ec1c1079b4a719169e8db95b6d77f703264b65
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/texteditor/texteditoractionhandler.cpp')
-rw-r--r-- | src/plugins/texteditor/texteditoractionhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp index c105a26cc4..49b83b8a75 100644 --- a/src/plugins/texteditor/texteditoractionhandler.cpp +++ b/src/plugins/texteditor/texteditoractionhandler.cpp @@ -7,6 +7,7 @@ #include "displaysettings.h" #include "fontsettings.h" #include "linenumberfilter.h" +#include "texteditorplugin.h" #include "texteditortr.h" #include "texteditorsettings.h" @@ -179,7 +180,7 @@ void TextEditorActionHandlerPrivate::createActions() registerAction(SELECTALL, [] (TextEditorWidget *w) { w->selectAll(); }, true); registerAction(GOTO, [] (TextEditorWidget *) { - Core::LocatorManager::showFilter(lineNumberFilter()); + Core::LocatorManager::showFilter(TextEditorPlugin::lineNumberFilter()); }); m_modifyingActions << registerAction(PRINT, [] (TextEditorWidget *widget) { widget->print(Core::ICore::printer()); }); |