Explorer plugin native context menu: only show it when it's enabled in settings

This commit is contained in:
Yusyuriv 2024-06-07 14:35:15 +06:00
parent d07cb1c166
commit ce5a38bc49
No known key found for this signature in database
GPG key ID: A91C52E6F73148E0

View file

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