diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp index 826cbc04..cb9171f1 100644 --- a/gui/MainWindow.cpp +++ b/gui/MainWindow.cpp @@ -545,6 +545,7 @@ void MainWindow::notificationsChanged() QMessageBox box(icon, tr("Notification"), entry.message, QMessageBox::Close, this); QPushButton *dontShowAgainButton = box.addButton(tr("Don't show again"), QMessageBox::AcceptRole); + box.setDefaultButton(QMessageBox::Close); box.exec(); if (box.clickedButton() == dontShowAgainButton) {