hrev50597 adds 1 changeset to branch 'master'
old head: 25a6c9dad3bf8c52e29729cf92b34fce94d2fe88
new head: 45e5951b88550b7bbdf9b41c98cd194d124cf6cb
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=45e5951b8855+%5E25a6c9dad3bf
----------------------------------------------------------------------------
45e5951b8855: Tracker: Fix the TitleView appearing sometimes in icon-view
folders.
It appears this would only happen when opening a new window (not an
existing one) for a folder that was set to icon-view.
Regression from hrev48734 (Layout API commit). Fixes #13000.
[ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev50597
Commit: 45e5951b88550b7bbdf9b41c98cd194d124cf6cb
URL: http://cgit.haiku-os.org/haiku/commit/?id=45e5951b8855
Author: Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date: Mon Oct 17 19:19:31 2016 UTC
Ticket: https://dev.haiku-os.org/ticket/13000
----------------------------------------------------------------------------
1 file changed, 2 insertions(+)
src/kits/tracker/PoseView.cpp | 2 ++
----------------------------------------------------------------------------
diff --git a/src/kits/tracker/PoseView.cpp b/src/kits/tracker/PoseView.cpp
index d8e2cae..b52f577 100644
--- a/src/kits/tracker/PoseView.cpp
+++ b/src/kits/tracker/PoseView.cpp
@@ -335,6 +335,8 @@ BPoseView::InitCommon()
// Create the TitleView and CountView
fTitleView = new BTitleView(this);
+ if (ViewMode() != kListMode)
+ fTitleView->Hide();
if (fHScrollBar != NULL)
fHScrollBar->SetTitleView(fTitleView);