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
1 changed files with 5 additions and 1 deletions
|
@ -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 a new issue