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

(cherry picked from commit 6c23f43ec3)
wilder-portage
Martin T. H. Sandsmark 10 years ago committed by Kurt Hindenburg
parent fca305ebff
commit 1f06b97104
  1. 2
      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:

Loading…
Cancel
Save