From dea19421318fdef6cc0f3d9bbfae29c5470361a3 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Thu, 28 Jul 2011 17:11:30 +0000 Subject: speeded up structural operations fixed several heavy bugs in structural operations: - global insert freezed muse - global cut and global insert behaved wrong on parts not starting at the zeroth tick - fixed upper_bound vs. lower_bound issues clicking below the track list now deselects all tracks moved checkRegionNotNull() where it belongs --- muse2/muse/arranger/pcanvas.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'muse2/muse/arranger/pcanvas.cpp') diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp index 96c30fdb..1f25d6cc 100644 --- a/muse2/muse/arranger/pcanvas.cpp +++ b/muse2/muse/arranger/pcanvas.cpp @@ -374,13 +374,13 @@ UndoOp PartCanvas::moveItem(CItem* item, const QPoint& newpos, DragType t) if (t == MOVE_COPY || t == MOVE_CLONE) { // These will not increment ref count, and will not chain clones... - // TODO: is this still correct (by flo93)? + // TODO FINDMICH: is this still correct (by flo93)? i doubt it! result=UndoOp(UndoOp::AddPart,dpart); } else if (t == MOVE_MOVE) { dpart->setSelected(spart->selected()); // These will increment ref count if not a clone, and will chain clones... - // TODO: is this still correct (by flo93)? + // TODO FINDMICH: is this still correct (by flo93)? i doubt it! result=UndoOp(UndoOp::ModifyPart,spart, dpart, true, false); spart->setSelected(false); -- cgit v1.2.3