From 6c23f43ec314ea196c8a42682f91467778a67e54 Mon Sep 17 00:00:00 2001 From: "Martin T. H. Sandsmark" Date: Sat, 13 Aug 2016 20:51:06 +0200 Subject: [PATCH] Avoid asking the user a second time for confirmation of closing an active tab --- src/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 9107939d1..6f5601440 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -581,7 +581,7 @@ bool MainWindow::queryClose() case KMessageBox::No: if (_pluggedController && _pluggedController->session()) { disconnectController(_pluggedController); - _pluggedController->closeSession(); + _pluggedController->session()->closeInNormalWay(); } return false; case KMessageBox::Cancel: