1
0
mirror of https://github.com/odrling/Aegisub synced 2025-04-11 22:56:02 +02:00

Force a repaint of the window after opening files from the command line. Closes #1419.

Originally committed to SVN as r6475.
This commit is contained in:
Thomas Goyne 2012-02-15 21:24:00 +00:00
parent a2872158a9
commit d4e1c90a04

View File

@ -525,7 +525,11 @@ bool FrameMain::LoadList(wxArrayString list) {
if (!audio.empty())
context->audioController->OpenAudio(audio);
return subs.size() || audio.size() || video.size();
bool loaded_any = subs.size() || audio.size() || video.size();
if (loaded_any)
Refresh(false);
return loaded_any;
}
static void autosave_timer_changed(wxTimer *timer) {