Skip to content

Commit 7352c11

Browse files
committed
Allow setting fonts separately for query box and results
Fixes #1284: `CollectionViewSource` will synchronize the current item across all users of the same view source unless they explicitly set `IsSynchronizedWithCurrentItem`.
1 parent fee3d1d commit 7352c11

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Flow.Launcher/SettingWindow.xaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1796,7 +1796,8 @@
17961796
HorizontalAlignment="Left"
17971797
VerticalAlignment="Top"
17981798
ItemsSource="{Binding Source={StaticResource SortedFonts}}"
1799-
SelectedItem="{Binding SelectedQueryBoxFont}" />
1799+
SelectedItem="{Binding SelectedQueryBoxFont}"
1800+
IsSynchronizedWithCurrentItem="False" />
18001801
<ComboBox
18011802
Width="130"
18021803
Margin="10,0,0,0"
@@ -1846,7 +1847,8 @@
18461847
HorizontalAlignment="Left"
18471848
VerticalAlignment="Top"
18481849
ItemsSource="{Binding Source={StaticResource SortedFonts}}"
1849-
SelectedItem="{Binding SelectedResultFont}" />
1850+
SelectedItem="{Binding SelectedResultFont}"
1851+
IsSynchronizedWithCurrentItem="False" />
18501852
<ComboBox
18511853
Width="130"
18521854
Margin="10,-2,0,0"

0 commit comments

Comments
 (0)