1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-04 17:30:55 +00:00

Follow the setting for which view to close

This commit is contained in:
Loren Burkholder 2023-04-07 10:58:09 -04:00
parent d4df55c6bf
commit 20dafcb101

View File

@ -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();
}