diff --git a/gui/platforms.cpp b/gui/platforms.cpp index ff9c075ab..1daef2bf2 100644 --- a/gui/platforms.cpp +++ b/gui/platforms.cpp @@ -29,6 +29,7 @@ void Platforms::add(const QString &title, Settings::PlatformType platform) Platform plat; plat.mTitle = title; plat.mType = platform; + plat.mActMainWindow = nullptr; mPlatforms << plat; }