(GarExtract): fallback to default destination directory if last one used is inaccessible.

This commit is contained in:
morkt 2015-08-01 18:30:09 +04:00
parent 3342461ac6
commit 11906d9c57

View File

@ -56,6 +56,8 @@ namespace GARbro.GUI
try try
{ {
string destination = Settings.Default.appLastDestination; string destination = Settings.Default.appLastDestination;
if (!Directory.Exists (destination))
destination = "";
if (!ViewModel.IsArchive) if (!ViewModel.IsArchive)
{ {
if (!entry.IsDirectory) if (!entry.IsDirectory)