File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -550,23 +550,10 @@ private void RemoveOldQueryResults(Query query)
550
550
string lastKeyword = _lastQuery . ActionKeyword ;
551
551
552
552
string keyword = query . ActionKeyword ;
553
- if ( string . IsNullOrEmpty ( lastKeyword ) )
554
- {
555
- if ( ! string . IsNullOrEmpty ( keyword ) )
556
- {
557
- Results . KeepResultsFor ( PluginManager . NonGlobalPlugins [ keyword ] . Metadata ) ;
558
- }
559
- }
560
- else
553
+
554
+ if ( lastKeyword != keyword )
561
555
{
562
- if ( string . IsNullOrEmpty ( keyword ) )
563
- {
564
- Results . KeepResultsExcept ( PluginManager . NonGlobalPlugins [ lastKeyword ] . Metadata ) ;
565
- }
566
- else if ( lastKeyword != keyword )
567
- {
568
- Results . KeepResultsFor ( PluginManager . NonGlobalPlugins [ keyword ] . Metadata ) ;
569
- }
556
+ Results . Clear ( ) ;
570
557
}
571
558
}
572
559
You can’t perform that action at this time.
0 commit comments