Minor fixes and improvements.

This commit is contained in:
Martín Lucas Golini
2023-09-05 19:51:36 -03:00
parent 13e2f20dd8
commit 3231dabbee
7 changed files with 48 additions and 28 deletions

View File

@@ -620,10 +620,12 @@ PluginRequestHandle GlobalSearchController::processMessage( const PluginMessage&
sample.line.substr( sample.position.start().column(),
sample.position.end().column() - sample.position.start().column() );
showGlobalSearch( false );
mGlobalSearchInput->setText( search );
updateGlobalSearchHistory( model, search, false, false, false );
updateGlobalSearchBarResults( search, model, false, false );
mUISceneNode->runOnMainThread( [this, search, model] {
showGlobalSearch( false );
mGlobalSearchInput->setText( search );
updateGlobalSearchHistory( model, search, false, false, false );
updateGlobalSearchBarResults( search, model, false, false );
} );
return {};
}