mirror of https://github.com/odrling/Aegisub
Reenable Start/Cancel buttons in the font collector dialog even if the collection fails.
Originally committed to SVN as r4618.
This commit is contained in:
parent
7c4bf32566
commit
44888bb008
|
@ -403,8 +403,14 @@ FontsCollectorThread::FontsCollectorThread(AssFile *_subs,wxString _destination,
|
|||
/// @return
|
||||
///
|
||||
wxThread::ExitCode FontsCollectorThread::Entry() {
|
||||
// Collect
|
||||
Collect();
|
||||
try {
|
||||
Collect();
|
||||
}
|
||||
catch (...) {
|
||||
collector->Update();
|
||||
if (IsDetached() && TestDestroy()) Delete();
|
||||
throw;
|
||||
}
|
||||
|
||||
// After done, restore status
|
||||
collector->Update();
|
||||
|
|
Loading…
Reference in New Issue