ncmpcpp: fix custom startup screen

This commit is contained in:
Andrzej Rybczak
2013-04-07 18:41:34 +02:00
parent 5aec12b269
commit 425836630e
4 changed files with 4 additions and 28 deletions

View File

@@ -170,10 +170,6 @@ int main(int argc, char **argv)
myPlaylist->switchTo();
myPlaylist->UpdateTimer();
// go to startup screen
if (Config.startup_screen != myScreen)
Config.startup_screen->switchTo();
// local variables
Key input(0, Key::Standard);
timeval past = { 0, 0 };
@@ -213,6 +209,10 @@ int main(int argc, char **argv)
myPlaylist->main().highlight(curr_pos);
}
// go to startup screen
if (Config.startup_screen != myScreen)
Config.startup_screen->switchTo();
myBrowser->fetchSupportedExtensions();
# ifdef ENABLE_OUTPUTS
myOutputs->FetchList();