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
This commit is contained in:
Paul Davis 2008-07-08 22:00:13 +00:00
parent c45d09b193
commit 4663dd124e

View file

@ -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());
}
}