[QuickAccent]Set initial selection when characters change (#22704)

This commit is contained in:
Davide Giacometti
2022-12-13 18:20:29 +01:00
committed by GitHub
parent f465daf585
commit d50b89262c

View File

@@ -66,6 +66,7 @@ public partial class Selector : Window, IDisposable, INotifyPropertyChanged
if (isActive)
{
characters.ItemsSource = chars;
characters.SelectedIndex = 0;
this.UpdateLayout(); // Required for filling the actual width/height before positioning.
SetWindowPosition();
Show();