summaryrefslogtreecommitdiff
path: root/muse2
diff options
context:
space:
mode:
Diffstat (limited to 'muse2')
-rw-r--r--muse2/muse/arranger/pcanvas.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp
index 8cd5957c..2c9c0f29 100644
--- a/muse2/muse/arranger/pcanvas.cpp
+++ b/muse2/muse/arranger/pcanvas.cpp
@@ -499,9 +499,14 @@ void PartCanvas::updateSelection()
if (changed)
{
MusEGlobal::song->applyOperationGroup(operations);
- emit selectionChanged();
redraw();
}
+
+ // TODO FIXME: this must be emitted always, because CItem is broken by design:
+ // CItems hold an Event smart-pointer which allows write access.
+ // This means, that items can (and will!) be selected bypassing the
+ // UndoOp::SelectEvent message! FIX THAT! (flo93)
+ emit selectionChanged();
}
//---------------------------------------------------------