Skip to content

Commit

Permalink
Disable "Reuse assets" and "Assets path" options in GUI export setup …
Browse files Browse the repository at this point in the history
…if "Download assets" is disabled
  • Loading branch information
Tyrrrz committed Nov 12, 2023
1 parent b709fc0 commit 50b26c5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions DiscordChatExporter.Gui/Views/Dialogs/ExportSetupView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,10 @@
</Grid>

<!-- Reuse assets -->
<Grid Margin="16,8" ToolTip="Reuse previously downloaded assets to avoid redundant requests">
<Grid
Margin="16,8"
IsEnabled="{Binding ShouldDownloadAssets}"
ToolTip="Reuse previously downloaded assets to avoid redundant requests">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
Expand All @@ -289,7 +292,7 @@
</Grid>

<!-- Assets path -->
<Grid Margin="16,8">
<Grid Margin="16,8" IsEnabled="{Binding ShouldDownloadAssets}">
<TextBox
Padding="16,16,42,16"
materialDesign:HintAssist.Hint="Assets directory path"
Expand Down

0 comments on commit 50b26c5

Please sign in to comment.