[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/apps/dolphin/src
From:       Sebastian Doerner <sebastian () sebastian-doerner ! de>
Date:       2011-01-27 21:30:46
Message-ID: 20110127213046.3940BAC8BB () svn ! kde ! org
[Download RAW message or body]

SVN commit 1217560 by doerner:

Fix crash when detaching a tab with "Split View Mode" setting enabled

 M  +2 -0      dolphinmainwindow.cpp  


--- trunk/KDE/kdebase/apps/dolphin/src/dolphinmainwindow.cpp #1217559:1217560
@@ -1126,7 +1126,9 @@
 
         if (tab.secondaryView != 0) {
             const KUrl secondaryUrl = tab.secondaryView->url();
+            if (window->m_viewTab[0].secondaryView == 0) {
             window->toggleSplitView();
+            }
             window->m_viewTab[0].secondaryView->setUrl(secondaryUrl);
             if (tab.primaryView->isActive()) {
                 window->m_viewTab[0].primaryView->setActive(true);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic