mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 13:45:34 +08:00
(CreateArchive): disable OK button if no format is selected.
This commit is contained in:
parent
5e0240e176
commit
83fa7317c6
@ -11,7 +11,7 @@
|
||||
MinWidth="300">
|
||||
<DockPanel VerticalAlignment="Top" Margin="10">
|
||||
<StackPanel DockPanel.Dock="Bottom" HorizontalAlignment="Right" Orientation="Horizontal" Margin="20,20,0,0">
|
||||
<Button Name="ButtonOk" Content="{x:Static s:guiStrings.ButtonOK}" Click="Button_Click" IsDefault="True" Width="70" Height="25" Margin="0,0,10,0"/>
|
||||
<Button Name="ButtonOk" Content="{x:Static s:guiStrings.ButtonOK}" Click="Button_Click" IsDefault="True" Width="70" Height="25" Margin="0,0,10,0" IsEnabled="{Binding ElementName=ArchiveFormat, Path=SelectedItem.CanWrite}"/>
|
||||
<Button Content="{x:Static s:guiStrings.ButtonCancel}" IsCancel="True" Width="70" Height="25" Margin="10,0,0,0"/>
|
||||
</StackPanel>
|
||||
<Grid DockPanel.Dock="Top">
|
||||
|
Loading…
Reference in New Issue
Block a user