diff options
| author | Loren Burkholder <[email protected]> | 2023-04-07 10:58:09 -0400 |
|---|---|---|
| committer | Loren Burkholder <[email protected]> | 2024-01-18 23:29:23 +0000 |
| commit | 20dafcb1018ca8690288bbd857f58bcc3e0aa040 (patch) | |
| tree | 0bd1a1a43df55c7c1d37fb31816c6cf951ecd04e /src/dolphinmainwindow.cpp | |
| parent | d4df55c6bf37db4c5455a1f22b556ac89468388b (diff) | |
Follow the setting for which view to close
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |
