Merge pull request #12831 from TryTwo/Fix_batch_mode
MainWindow: Fix batch mode
This commit is contained in:
commit
47fae68b0f
|
@ -239,7 +239,8 @@ MainWindow::MainWindow(std::unique_ptr<BootParameters> boot_parameters,
|
|||
QSettings& settings = Settings::GetQSettings();
|
||||
restoreState(settings.value(QStringLiteral("mainwindow/state")).toByteArray());
|
||||
restoreGeometry(settings.value(QStringLiteral("mainwindow/geometry")).toByteArray());
|
||||
show();
|
||||
if (!Settings::Instance().IsBatchModeEnabled())
|
||||
show();
|
||||
|
||||
InitControllers();
|
||||
ConnectHotkeys();
|
||||
|
|
Loading…
Reference in New Issue