mirror of https://github.com/odrling/Aegisub
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:
parent
a2872158a9
commit
d4e1c90a04
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue