Fix empty statusControl of general tab blocking mouse input

This commit is contained in:
WarmUpTill 2022-01-22 14:07:48 +01:00 committed by WarmUpTill
parent d1331a60b9
commit 2909b1300e

View File

@ -882,6 +882,9 @@ void AdvSceneSwitcher::setupGeneralTab()
tmp->addStretch();
ui->statusLayout->addLayout(tmp, 1, 1);
ui->statusLayout->addWidget(statusControl->Button(), 2, 1);
// Hide the now empty invisible shell of the statusControl widget
// as otherwise it could block user input
statusControl->hide();
setWindowTitle(windowTitle() + " - " + g_GIT_TAG);
}