Commit 6c23f43e authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

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

parent a28902e9
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment