Avoid asking the user a second time for confirmation of closing an active tab

This commit is contained in:
Martin T. H. Sandsmark
2016-08-13 20:51:06 +02:00
parent a28902e912
commit 6c23f43ec3

View File

@@ -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: