ncmpcpp: fix custom startup screen
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user