(GUI): asynchronous archive open.

This commit is contained in:
morkt
2017-03-05 08:31:27 +04:00
parent 9606b673c2
commit 79a9e05dc6
4 changed files with 96 additions and 60 deletions

View File

@@ -249,7 +249,7 @@ namespace GARbro.GUI
}
}
void OnConvertComplete (object sender, RunWorkerCompletedEventArgs e)
async void OnConvertComplete (object sender, RunWorkerCompletedEventArgs e)
{
m_main.ResumeWatchDirectoryChanges();
m_progress_dialog.Dispose();
@@ -261,7 +261,7 @@ namespace GARbro.GUI
m_main.PopupError (m_pending_error.Message, guiStrings.TextMediaConvertError);
}
m_main.Activate();
m_main.RefreshView();
await m_main.RefreshView();
}
}
}