From dc938746ae9aaf2165a24ea37f0a698db3f0d93b Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 6 Sep 2018 14:30:11 +0200 Subject: Always init modes on startup --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 6c7f492..7989f8b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -53,6 +53,7 @@ int main(int argc, char *argv[]) return Bus::inst()->registerService() ? 0 : 1; } + ScreenSetup::inst()->initModes(); ScreenMode currentMode; if (CommandLine::autoSetup()) { currentMode = ScreenSetup::inst()->setDefaultMode(CommandLine::testMode()); -- cgit v1.2.3-55-g7522