diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml
index 960373ef1..573fba4d9 100644
--- a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml
@@ -5,6 +5,7 @@
Please make a selection first
+ Please select path folder
Please select a folder link
Are you sure you want to delete {0}?
Are you sure you want to permanently delete this file?
@@ -27,6 +28,9 @@
Add
General Setting
Customise Action Keywords
+ Customise Quick Access
+ Add
+
Quick Access Links
Everything Setting
Preview Panel
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/QuickAccessLinkSettings.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Views/QuickAccessLinkSettings.xaml
index e6ad44e4e..ad2335c39 100644
--- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/QuickAccessLinkSettings.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/QuickAccessLinkSettings.xaml
@@ -61,7 +61,7 @@
Margin="0 0 0 0"
FontSize="20"
FontWeight="SemiBold"
- Text="{DynamicResource plugin_explorer_manageactionkeywords_header}"
+ Text="{DynamicResource plugin_explorer_manage_quick_access_links_header}"
TextAlignment="Left" />
@@ -71,11 +71,12 @@
HorizontalAlignment="Left"
VerticalAlignment="Center"
FontSize="14"
- Text="{DynamicResource plugin_explorer_actionkeyword_current}" />
+ Text="{DynamicResource plugin_explorer_name}" />
@@ -86,23 +87,23 @@
HorizontalAlignment="Left"
VerticalAlignment="Center"
FontSize="14"
- Text="Path:" />
+ Text="{DynamicResource plugin_explorer_path}" />
-
-
+ Text="{Binding SelectedPath, Mode=TwoWay}"
+ IsReadOnly="True" />
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/QuickAccessLinkSettings.xaml.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Views/QuickAccessLinkSettings.xaml.cs
index 9d2c54e2d..6b881b244 100644
--- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/QuickAccessLinkSettings.xaml.cs
+++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/QuickAccessLinkSettings.xaml.cs
@@ -33,7 +33,11 @@ public partial class QuickAccessLinkSettings : INotifyPropertyChanged
private string _selectedName;
public string SelectedName
{
- get => _selectedName;
+ get
+ {
+ if (string.IsNullOrEmpty(_selectedName)) return GetPathName();
+ return _selectedName;
+ }
set
{
if (_selectedName != value)
@@ -60,6 +64,12 @@ public partial class QuickAccessLinkSettings : INotifyPropertyChanged
private void OnDoneButtonClick(object sender, RoutedEventArgs e)
{
+ if (string.IsNullOrEmpty(SelectedName) && string.IsNullOrEmpty(SelectedPath))
+ {
+ var warning = Main.Context.API.GetTranslation("plugin_explorer_quick_access_link_no_folder_selected");
+ Main.Context.API.ShowMsgBox(warning);
+ return;
+ }
var container = Settings.QuickAccessLinks;