From f327dcab7a0e2a47d71121dc74222bbd5e7f602f Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Sat, 24 Jan 2009 14:34:26 +0000 Subject: [PATCH] Tidyups --- src/gui/widgets/timeline/timeline-layout-helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widgets/timeline/timeline-layout-helper.cpp b/src/gui/widgets/timeline/timeline-layout-helper.cpp index d5ab696a5..c8c6b4675 100644 --- a/src/gui/widgets/timeline/timeline-layout-helper.cpp +++ b/src/gui/widgets/timeline/timeline-layout-helper.cpp @@ -235,7 +235,7 @@ TimelineLayoutHelper::drag_to_point(const Gdk::Point &mouse_point) apply_drop_to_layout_tree(drop); dropPoint = drop; - if((drop.relation == FirstChild || drop.relation == LastChild)&& + if((drop.relation == FirstChild || drop.relation == LastChild) && !target_timeline_track->get_expanded()) { target_timeline_track->expand_collapse(Track::Expand);