Disable "Reuse assets" and "Assets path" options in GUI export setup if "Download assets" is disabled

pull/1160/head
Tyrrrz 1 year ago
parent b709fc0f15
commit 50b26c557f

@ -271,7 +271,10 @@
</Grid> </Grid>
<!-- Reuse assets --> <!-- 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> <Grid.ColumnDefinitions>
<ColumnDefinition Width="*" /> <ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" />
@ -289,7 +292,7 @@
</Grid> </Grid>
<!-- Assets path --> <!-- Assets path -->
<Grid Margin="16,8"> <Grid Margin="16,8" IsEnabled="{Binding ShouldDownloadAssets}">
<TextBox <TextBox
Padding="16,16,42,16" Padding="16,16,42,16"
materialDesign:HintAssist.Hint="Assets directory path" materialDesign:HintAssist.Hint="Assets directory path"

Loading…
Cancel
Save