From 4a3dc5c5eea5fba2318e601caca7557acb6ea2c9 Mon Sep 17 00:00:00 2001 From: Alexey Golub Date: Thu, 14 Feb 2019 22:29:52 +0200 Subject: [PATCH] Bind export button visibility on the guard property --- DiscordChatExporter.Gui/Views/RootView.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DiscordChatExporter.Gui/Views/RootView.xaml b/DiscordChatExporter.Gui/Views/RootView.xaml index 2797f6a..7d43eeb 100644 --- a/DiscordChatExporter.Gui/Views/RootView.xaml +++ b/DiscordChatExporter.Gui/Views/RootView.xaml @@ -279,7 +279,7 @@ VerticalAlignment="Bottom" Command="{s:Action ExportChannels}" Style="{StaticResource MaterialDesignFloatingActionAccentButton}" - Visibility="{Binding IsEnabled, RelativeSource={RelativeSource Self}, Converter={x:Static s:BoolToVisibilityConverter.Instance}}"> + Visibility="{Binding CanExportChannels, Converter={x:Static s:BoolToVisibilityConverter.Instance}}">