diff --git a/Flow.Launcher/CustomQueryHotkeySetting.xaml b/Flow.Launcher/CustomQueryHotkeySetting.xaml index bb139587f..124115ffe 100644 --- a/Flow.Launcher/CustomQueryHotkeySetting.xaml +++ b/Flow.Launcher/CustomQueryHotkeySetting.xaml @@ -7,13 +7,13 @@ Title="{DynamicResource customeQueryHotkeyTitle}" Width="530" Background="{DynamicResource PopuBGColor}" + DataContext="{Binding RelativeSource={RelativeSource Self}}" Foreground="{DynamicResource PopupTextColor}" Icon="Images\app.png" MouseDown="window_MouseDown" ResizeMode="NoResize" SizeToContent="Height" - WindowStartupLocation="CenterScreen" - DataContext="{Binding RelativeSource={RelativeSource Self}}"> + WindowStartupLocation="CenterScreen"> @@ -108,8 +108,6 @@