diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-14 14:14:49 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-14 14:14:49 +0000 |
commit | 71fecfd751dc556d49c3c376b7f1e9666b007332 (patch) | |
tree | 98623a03b4509a0129875f9af1ea674cfdf167a4 /gtk2_ardour/time_axis_view.cc | |
parent | ef3a32c65b5c85bcb6b370d16126bc4153da9369 (diff) |
fix a few things related to fit-to-tracks and toggle-visual-state
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3966 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index 88d585ddc2..6c5bb2aef5 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -343,6 +343,10 @@ TimeAxisView::hide () for (vector<TimeAxisView*>::iterator i = children.begin(); i != children.end(); ++i) { (*i)->hide (); } + + /* if its hidden, it cannot be selected */ + + editor.get_selection().remove (this); Hiding (); } |