summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/mainwindow/mainwindow.cpp')
-rw-r--r--src/server/mainwindow/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
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();