mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-11 17:17:42 +03:00
ecode: Fix tools menu click bind.
This commit is contained in:
@@ -2454,7 +2454,7 @@ UIPopUpMenu* App::createToolsMenu() {
|
||||
if ( !event->getNode()->isType( UI_TYPE_MENUITEM ) )
|
||||
return;
|
||||
UIMenuItem* item = event->getNode()->asType<UIMenuItem>();
|
||||
std::string id( item->getText() );
|
||||
std::string id( item->getId() );
|
||||
if ( id == "open-locatebar" ) {
|
||||
mFileLocator->showLocateBar();
|
||||
} else if ( id == "open-global-search" ) {
|
||||
|
||||
Reference in New Issue
Block a user