mirror of
https://github.com/KDE/konsole.git
synced 2026-06-11 23:45:09 -04:00
Avoid asking the user a second time for confirmation of closing an active tab
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user