From 20dafcb1018ca8690288bbd857f58bcc3e0aa040 Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Fri, 7 Apr 2023 10:58:09 -0400 Subject: [PATCH] Follow the setting for which view to close --- src/dolphinmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 8def522b9..4a327182e 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -989,7 +989,7 @@ void DolphinMainWindow::popoutSplitView() DolphinTabPage *tabPage = m_tabWidget->currentTabPage(); if (!tabPage->splitViewEnabled()) return; - openNewWindow(tabPage->activeViewContainer()->url()); + openNewWindow((GeneralSettings::closeActiveSplitView() ? tabPage->activeViewContainer() : tabPage->inactiveViewContainer())->url()); tabPage->setSplitViewEnabled(false, WithAnimation); updateSplitActions(); } -- 2.47.3