1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-30 17:14:58 +01:00

MainWindow: Maximize error dialog when window is shown

This commit is contained in:
Jonas Kvinge 2025-01-22 17:51:16 +01:00
parent 02bb875bb3
commit 58fc8c82bb

View File

@ -1666,6 +1666,11 @@ void MainWindow::StopAfterCurrent() {
void MainWindow::showEvent(QShowEvent *e) {
if (error_dialog_ && error_dialog_->isVisible() && error_dialog_->isMinimized()) {
error_dialog_->raise();
error_dialog_->activateWindow();
}
QMainWindow::showEvent(e);
}