mirror of
https://github.com/KDE/konsole.git
synced 2026-06-11 23:45:09 -04:00
Fix the wrong KGuiItem in the confirmation dialog for closing window
That dialog is only about closing one Konsole window , so it should use KStandardGuiItem::closeWindow() instead of KStandardGuiItem::quit(), which is for quitting the whole application.
This commit is contained in:
@@ -530,7 +530,7 @@ bool MainWindow::queryClose()
|
||||
"There are %1 tabs open in this window. "
|
||||
"Do you still want to quit?", openTabs),
|
||||
i18nc("@title", "Confirm Close"),
|
||||
KStandardGuiItem::quit(),
|
||||
KStandardGuiItem::closeWindow(),
|
||||
KGuiItem(i18nc("@action:button", "Close Current Tab"), "tab-close"),
|
||||
KStandardGuiItem::cancel(),
|
||||
"CloseAllTabs");
|
||||
|
||||
Reference in New Issue
Block a user