mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
remove check of empty of Results when change selected index
This commit is contained in:
parent
0af9fb0df9
commit
7dc247333c
1 changed files with 1 additions and 3 deletions
|
|
@ -171,9 +171,7 @@ namespace Flow.Launcher.ViewModel
|
|||
{
|
||||
// https://social.msdn.microsoft.com/Forums/vstudio/en-US/5ff71969-f183-4744-909d-50f7cd414954/binding-a-tabcontrols-selectedindex-not-working?forum=wpf
|
||||
// fix selected index flow
|
||||
if (Results.Count > 0)
|
||||
SelectedIndex = 0;
|
||||
|
||||
SelectedIndex = 0;
|
||||
|
||||
Results.Update(newResults);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue