mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
Make it impossible to hide one of the views in a split view setup
completely by dragging the QSplitterHandle to the left or right. This fixes the problem that a hidden view disappears completely after closing the visible view. The root cause of this issue still seems to be unclear though. BUG: 190265 svn path=/trunk/KDE/kdebase/apps/; revision=957703
This commit is contained in:
parent
9460609afa
commit
cadfb2a3c6
|
@ -348,6 +348,7 @@ void DolphinMainWindow::openNewTab(const KUrl& url)
|
|||
|
||||
ViewTab viewTab;
|
||||
viewTab.splitter = new QSplitter(this);
|
||||
viewTab.splitter->setChildrenCollapsible(false);
|
||||
viewTab.primaryView = new DolphinViewContainer(this, viewTab.splitter, url);
|
||||
viewTab.primaryView->setActive(false);
|
||||
connectViewSignals(viewTab.primaryView);
|
||||
|
@ -981,6 +982,7 @@ void DolphinMainWindow::init()
|
|||
setAcceptDrops(true);
|
||||
|
||||
m_viewTab[m_tabIndex].splitter = new QSplitter(this);
|
||||
m_viewTab[m_tabIndex].splitter->setChildrenCollapsible(false);
|
||||
|
||||
setupActions();
|
||||
|
||||
|
|
Loading…
Reference in a new issue