diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs index 09bba6e5c..3deb15740 100644 --- a/Flow.Launcher/ViewModel/MainViewModel.cs +++ b/Flow.Launcher/ViewModel/MainViewModel.cs @@ -32,8 +32,6 @@ namespace Flow.Launcher.ViewModel { #region Private Fields - private const string DefaultOpenResultModifiers = "Alt"; - private bool _isQueryRunning; private Query _lastQuery; private string _queryTextBeforeLeaveResults; @@ -103,8 +101,6 @@ namespace Flow.Launcher.ViewModel RegisterViewUpdate(); RegisterResultsUpdatedEvent(); RegisterClockAndDateUpdateAsync(); - - SetOpenResultModifiers(); } private void RegisterViewUpdate() @@ -513,7 +509,7 @@ namespace Flow.Launcher.ViewModel public string PluginIconPath { get; set; } = null; - public string OpenResultCommandModifiers { get; private set; } + public string OpenResultCommandModifiers => Settings.OpenResultModifiers; public string Image => Constant.QueryTextBoxIconImagePath; @@ -876,11 +872,6 @@ namespace Flow.Launcher.ViewModel #region Hotkey - private void SetOpenResultModifiers() - { - OpenResultCommandModifiers = Settings.OpenResultModifiers ?? DefaultOpenResultModifiers; - } - public void ToggleFlowLauncher() { if (!MainWindowVisibilityStatus)