diff --git a/ExtractArchive.xaml b/ExtractArchive.xaml index 0fc326c1..9bd08323 100644 --- a/ExtractArchive.xaml +++ b/ExtractArchive.xaml @@ -13,7 +13,8 @@ - + diff --git a/ExtractArchive.xaml.cs b/ExtractArchive.xaml.cs index 130d8b8e..323f6c80 100644 --- a/ExtractArchive.xaml.cs +++ b/ExtractArchive.xaml.cs @@ -46,7 +46,7 @@ namespace GARbro.GUI { InitializeComponent(); ExtractLabel.Text = string.Format (guiStrings.LabelExtractAllTo, filename); - DestinationDir.Text = destination; + Destination = destination; ExtractImages.IsChecked = Settings.Default.appExtractImages; ExtractText.IsChecked = Settings.Default.appExtractText; diff --git a/ExtractDialog.cs b/ExtractDialog.cs index cdbd4380..8f5d8d60 100644 --- a/ExtractDialog.cs +++ b/ExtractDialog.cs @@ -39,6 +39,8 @@ namespace GARbro.GUI { public partial class ExtractDialog : Window { + public string Destination { get; set; } + public void InitImageFormats (ComboBox image_format) { var default_format = Settings.Default.appImageFormat; diff --git a/ExtractFile.xaml b/ExtractFile.xaml index cd4fd396..032eccc3 100644 --- a/ExtractFile.xaml +++ b/ExtractFile.xaml @@ -11,8 +11,8 @@ - + diff --git a/ExtractFile.xaml.cs b/ExtractFile.xaml.cs index cd441273..6d2801eb 100644 --- a/ExtractFile.xaml.cs +++ b/ExtractFile.xaml.cs @@ -44,7 +44,7 @@ namespace GARbro.GUI { InitializeComponent(); ExtractLabel.Text = string.Format (guiStrings.LabelExtractFileTo, entry.Name); - DestinationDir.Text = destination; + Destination = destination; if ("image" == entry.Type) { ImageConversionOptions.Visibility = Visibility.Visible;