File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,6 @@ public partial class MainViewModel : BaseModel, ISavable
32
32
{
33
33
#region Private Fields
34
34
35
- private const string DefaultOpenResultModifiers = "Alt" ;
36
-
37
35
private bool _isQueryRunning ;
38
36
private Query _lastQuery ;
39
37
private string _queryTextBeforeLeaveResults ;
@@ -103,8 +101,6 @@ public MainViewModel(Settings settings)
103
101
RegisterViewUpdate ( ) ;
104
102
RegisterResultsUpdatedEvent ( ) ;
105
103
RegisterClockAndDateUpdateAsync ( ) ;
106
-
107
- SetOpenResultModifiers ( ) ;
108
104
}
109
105
110
106
private void RegisterViewUpdate ( )
@@ -513,7 +509,7 @@ public double MainWindowWidth
513
509
514
510
public string PluginIconPath { get ; set ; } = null ;
515
511
516
- public string OpenResultCommandModifiers { get ; private set ; }
512
+ public string OpenResultCommandModifiers => Settings . OpenResultModifiers ;
517
513
518
514
public string Image => Constant . QueryTextBoxIconImagePath ;
519
515
@@ -876,11 +872,6 @@ private bool HistorySelected()
876
872
877
873
#region Hotkey
878
874
879
- private void SetOpenResultModifiers ( )
880
- {
881
- OpenResultCommandModifiers = Settings . OpenResultModifiers ?? DefaultOpenResultModifiers ;
882
- }
883
-
884
875
public void ToggleFlowLauncher ( )
885
876
{
886
877
if ( ! MainWindowVisibilityStatus )
You can’t perform that action at this time.
0 commit comments