mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-07 17:42:45 +08:00
[QuickAccent]Set initial selection when characters change (#22704)
This commit is contained in:
parent
f465daf585
commit
d50b89262c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user