fix(app): test iconified option if os != mac

This commit is contained in:
Ronan Abhamon 2017-06-06 12:29:06 +02:00
parent 9e4dae0e6a
commit 1db3c9c0a5

View file

@ -481,10 +481,10 @@ void App::openAppAfterInit () {
else
setTrayIcon();
smartShowWindow(mainWindow);
#else
if (!mParser.isSet("iconified"))
smartShowWindow(mainWindow);
#else
smartShowWindow(mainWindow);
#endif // ifndef __APPLE__
// Display Assistant if it's the first time app launch.