From 3776d098c8581299724adf70aae3a718e4b633ca Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 20 Jul 2018 14:38:59 +0200 Subject: [server] Fix: Checking for Ok on a Yes/No question ... --- src/server/mainwindow/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/mainwindow/mainwindow.cpp b/src/server/mainwindow/mainwindow.cpp index 6fc80f3..523c61c 100644 --- a/src/server/mainwindow/mainwindow.cpp +++ b/src/server/mainwindow/mainwindow.cpp @@ -677,7 +677,7 @@ void MainWindow::onSessionNameUpdate() tr("Question"), tr("Do you want to delete and disconnect any clients\n" "not belonging to the current room layout?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No); - if (ret != QMessageBox::Ok) + if (ret != QMessageBox::Yes) return; // Stop all projections and clear all clients, which were connected to old sessionName. reset(); -- cgit v1.2.3-55-g7522