summaryrefslogtreecommitdiff
path: root/dash
diff options
authorBrandon Schaefer <brandon.schaefer@canonical.com>2013-07-08 22:19:10 +0000
committerTarmac <>2013-07-08 22:19:10 +0000
commit17d66ded92e58cfc8a1358005e877a2ede4adf0a (patch)
tree198e07a543df8f08b6dfc9600650c6cac57bbb8c /dash
parentcd1b55e155472e89838e65ff8c57f2efd49d137a (diff)
parentc74ae55287a67a7aa1b63e4b51aef043b9da01f5 (diff)
Correctly set back the filter scroll views state when leaving/entering the scope view. Fixes: https://bugs.launchpad.net/bugs/1175666.
Approved by PS Jenkins bot, Christopher Townsend. (bzr r3413)
Diffstat (limited to 'dash')
-rwxr-xr-xdash/ScopeView.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/dash/ScopeView.cpp b/dash/ScopeView.cpp
index aefc80f1b..0c8bce3b9 100755
--- a/dash/ScopeView.cpp
+++ b/dash/ScopeView.cpp
@@ -224,6 +224,9 @@ ScopeView::ScopeView(Scope::Ptr const& scope, nux::Area* show_filters)
OnVisibleChanged.connect([&] (nux::Area* area, bool visible) {
scroll_view_->SetVisible(visible);
+
+ if ((filters_expanded && visible) || !visible)
+ fscroll_view_->SetVisible(visible);
});
}