diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Main.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Main.cs index 7b56df691..ea44620ed 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Main.cs @@ -3,6 +3,7 @@ using Flow.Launcher.Plugin.Explorer.Search; using Flow.Launcher.Plugin.Explorer.ViewModels; using Flow.Launcher.Plugin.Explorer.Views; using System.Collections.Generic; +using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Windows.Controls; @@ -32,6 +33,11 @@ namespace Flow.Launcher.Plugin.Explorer viewModel = new SettingsViewModel(context); await viewModel.LoadStorage(); Settings = viewModel.Settings; + + // as at v1.7.0 this is to maintain backwards compatibility, need to be removed afterwards. + if (Settings.QuickFolderAccessLinks.Any()) + Settings.QuickAccessLinks = Settings.QuickFolderAccessLinks; + contextMenu = new ContextMenu(Context, Settings); searchManager = new SearchManager(Settings, Context); } diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs index 798877e24..a8eac986d 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs @@ -10,6 +10,9 @@ namespace Flow.Launcher.Plugin.Explorer public List QuickAccessLinks { get; set; } = new List(); + // as at v1.7.0 this is to maintain backwards compatibility, need to be removed afterwards. + public List QuickFolderAccessLinks { get; set; } = new List(); + public bool UseWindowsIndexForDirectorySearch { get; set; } = true; public List IndexSearchExcludedSubdirectoryPaths { get; set; } = new List();