File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -395,6 +395,8 @@ private ResultsViewModel SelectedResults
395
395
396
396
public double MainWindowWidth => _settings . WindowSize ;
397
397
398
+ public string PluginIconPath { get ; set ; } = null ;
399
+
398
400
public ICommand EscCommand { get ; set ; }
399
401
public ICommand SelectNextItemCommand { get ; set ; }
400
402
public ICommand SelectPrevItemCommand { get ; set ; }
@@ -556,6 +558,11 @@ private async void QueryResults()
556
558
557
559
var plugins = PluginManager . ValidPluginsForQuery ( query ) ;
558
560
561
+ if ( plugins . Count == 1 )
562
+ {
563
+ PluginIconPath = plugins . Single ( ) . Metadata . IcoPath ;
564
+ }
565
+
559
566
if ( query . ActionKeyword == Plugin . Query . GlobalPluginWildcardSign )
560
567
{
561
568
// Wait 45 millisecond for query change in global query
You can’t perform that action at this time.
0 commit comments