┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Graham <[email protected]>2020-10-05 15:19:04 -0600
committerNate Graham <[email protected]>2020-10-05 15:19:04 -0600
commit462982faa361c79daab43ce526ae64646b1ea63c (patch)
tree99ea6eb70df3aadacf70a6d1cf4754324e7c1bff
parentdaa0fc341d8873f8b88400684642f59e6e3ef956 (diff)
parent6cf628cbd0841847795740dd02affec281d9a89a (diff)
Merge branch 'release/20.08' into master
-rw-r--r--src/dolphinmainwindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index 92d673a95..0fb953312 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -475,7 +475,10 @@ void DolphinMainWindow::closeEvent(QCloseEvent* event)
closedByUser = false;
}
- if (m_tabWidget->count() > 1 && GeneralSettings::confirmClosingMultipleTabs() && closedByUser) {
+ if (m_tabWidget->count() > 1
+ && GeneralSettings::confirmClosingMultipleTabs()
+ && !GeneralSettings::rememberOpenedTabs()
+ && closedByUser) {
// Ask the user if he really wants to quit and close all tabs.
// Open a confirmation dialog with 3 buttons:
// QDialogButtonBox::Yes -> Quit