diff options
| author | Felix Ernst <[email protected]> | 2023-08-22 12:15:22 +0000 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-08-23 16:54:52 +0000 |
| commit | 11fb9344c0fac2544479dbd7a9913eba740b74b5 (patch) | |
| tree | 88f344907d2bef81b42dfb83c7da8690994d7c8b /src/dolphinmainwindow.cpp | |
| parent | d27ee07de7558470ef7b497fbe3d3504ce7cad07 (diff) | |
Allow to not ask again confirmation when opening 5 or more files or terminal at once
BUG: 473513
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 68704b89a..afb86e152 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1189,11 +1189,12 @@ void DolphinMainWindow::openTerminalHere() {}, #endif KGuiItem(i18ncp("@action:button", "Open %1 Terminal", "Open %1 Terminals", urls.count()), QStringLiteral("utilities-terminal")), - KStandardGuiItem::cancel()); + KStandardGuiItem::cancel(), + QStringLiteral("ConfirmOpenManyTerminals")); #if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0) - if (answer != KMessageBox::PrimaryAction) { + if (answer != KMessageBox::PrimaryAction && answer != KMessageBox::Continue) { #else - if (answer != KMessageBox::Yes) { + if (answer != KMessageBox::Yes && answer != KMessageBox::Continue) { #endif return; } |
