mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
[QuickAccent]Set initial selection when characters change (#22704)
This commit is contained in:
committed by
GitHub
parent
f465daf585
commit
d50b89262c
@@ -66,6 +66,7 @@ public partial class Selector : Window, IDisposable, INotifyPropertyChanged
|
|||||||
if (isActive)
|
if (isActive)
|
||||||
{
|
{
|
||||||
characters.ItemsSource = chars;
|
characters.ItemsSource = chars;
|
||||||
|
characters.SelectedIndex = 0;
|
||||||
this.UpdateLayout(); // Required for filling the actual width/height before positioning.
|
this.UpdateLayout(); // Required for filling the actual width/height before positioning.
|
||||||
SetWindowPosition();
|
SetWindowPosition();
|
||||||
Show();
|
Show();
|
||||||
|
|||||||
Reference in New Issue
Block a user