From 90c5d12c3ec71ed5fbc3962df513a46bc599ec6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Sat, 8 Aug 2026 00:52:13 -0300 Subject: [PATCH] ecode: Ups restore the correct find and replace. --- src/eepp/ui/uicodeeditor.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/eepp/ui/uicodeeditor.cpp b/src/eepp/ui/uicodeeditor.cpp index 524002d90..0e954ed20 100644 --- a/src/eepp/ui/uicodeeditor.cpp +++ b/src/eepp/ui/uicodeeditor.cpp @@ -4849,9 +4849,7 @@ void UICodeEditor::registerCommands() { mDoc->setCommand( "copy-file-path-and-position", []( Client* client ) { static_cast( client )->copyFilePath( true ); } ); - mDoc->setCommand( "find-replace", []( Client* client ) { - static_cast( client )->showFindReplace(); - } ); + mDoc->setCommand( "find-replace", [this] { showFindReplace(); } ); mDoc->setCommand( "open-context-menu", []( Client* client ) { static_cast( client )->createContextMenu(); } );