From 7bc4cfb9648e46ae85a2f99672a07fce258feb10 Mon Sep 17 00:00:00 2001
From: Vic <10308169+VictoriousRaptor@users.noreply.github.com>
Date: Wed, 7 Dec 2022 00:48:42 +0800
Subject: [PATCH] Hide Browse Button when editing win32 or uwp
---
Plugins/Flow.Launcher.Plugin.Program/AddProgramSource.xaml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Plugins/Flow.Launcher.Plugin.Program/AddProgramSource.xaml b/Plugins/Flow.Launcher.Plugin.Program/AddProgramSource.xaml
index 73a9190ac..94eba0774 100644
--- a/Plugins/Flow.Launcher.Plugin.Program/AddProgramSource.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Program/AddProgramSource.xaml
@@ -18,6 +18,9 @@
+
+
+
@@ -101,7 +104,7 @@
HorizontalAlignment="Stretch"
Click="BrowseButton_Click"
Content="{DynamicResource flowlauncher_plugin_program_browse}"
- IsEnabled="{Binding IsCustomSource}"
+ Visibility="{Binding IsCustomSource, Converter={StaticResource BooleanToVisibilityConverter}}"
DockPanel.Dock="Right" />