summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-07-08 22:00:13 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-07-08 22:00:13 +0000
commit4663dd124e78f8f30780db9a4f763103faffae3b (patch)
tree9bb2683a7fae2a3e287e644c3f14b37519816325
parentc45d09b193a1c4802eefa082944e59fac949a950 (diff)
if the track that is being dynamically resized is not selected, do not add track selection to the pending idle resize list
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3526 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--gtk2_ardour/editor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index 08ccd45ab7..756f924875 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -4875,7 +4875,7 @@ Editor::add_to_idle_resize (TimeAxisView* view, uint32_t h)
pending_resizes.push_back (view);
- if (!selection->tracks.empty()) {
+ if (selection->selected (view) && !selection->tracks.empty()) {
pending_resizes.insert (pending_resizes.end(), selection->tracks.begin(), selection->tracks.end());
}
}