Explorer plugin native context menu: turn it off by default

This commit is contained in:
Yusyuriv 2024-06-08 10:16:33 +06:00
parent 92db7164d6
commit 0edd9eafab
No known key found for this signature in database
GPG key ID: A91C52E6F73148E0
3 changed files with 4 additions and 4 deletions

View file

@ -280,7 +280,7 @@ namespace Flow.Launcher.Plugin.Explorer
IcoPath = Constants.DifferentUserIconImagePath
});
if (record.Type is ResultType.File or ResultType.Folder && Settings.ShowWindowsContextMenu)
if (record.Type is ResultType.File or ResultType.Folder && Settings.ShowInlinedWindowsContextMenu)
{
var filters = Settings
.WindowsContextMenuIgnoredItems

View file

@ -28,7 +28,7 @@ namespace Flow.Launcher.Plugin.Explorer
public bool UseLocationAsWorkingDir { get; set; } = false;
public bool ShowWindowsContextMenu { get; set; } = true;
public bool ShowInlinedWindowsContextMenu { get; set; } = false;
public string WindowsContextMenuIgnoredItems { get; set; } = string.Empty;

View file

@ -106,10 +106,10 @@ namespace Flow.Launcher.Plugin.Explorer.ViewModels
public bool ShowWindowsContextMenu
{
get => Settings.ShowWindowsContextMenu;
get => Settings.ShowInlinedWindowsContextMenu;
set
{
Settings.ShowWindowsContextMenu = value;
Settings.ShowInlinedWindowsContextMenu = value;
OnPropertyChanged();
}
}