mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 18:16:31 +03:00
Fixes in universal locator.
This commit is contained in:
@@ -1141,7 +1141,7 @@ void UniversalLocator::asyncFuzzyMatchTextDocumentSymbol(
|
||||
std::vector<ProjectDirectoryTree::CommandInfo> UniversalLocator::getLocatorCommands() const {
|
||||
std::vector<ProjectDirectoryTree::CommandInfo> vec;
|
||||
UIIcon* icon = mUISceneNode->findIcon( "chevron-right" );
|
||||
bool isOpenFolder = mApp->getCurrentProject().empty();
|
||||
bool isOpenFolder = !mApp->getCurrentProject().empty();
|
||||
for ( const auto& locator : mLocatorProviders ) {
|
||||
if ( !isOpenFolder && locator.projectNeeded )
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user