From: Loren Burkholder Date: Fri, 7 Apr 2023 14:58:09 +0000 (-0400) Subject: Follow the setting for which view to close X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/20dafcb1018ca8690288bbd857f58bcc3e0aa040 Follow the setting for which view to close --- 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(); }