diff options
author | Florian Jung <flo@windfisch.org> | 2013-09-12 18:44:40 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2013-09-12 18:44:40 +0200 |
commit | 4ad75075044fc08864f0666e59b6428b50caf4c5 (patch) | |
tree | 4e682a3879f97e139054cd7aa1da01abc1e21255 /muse2/muse | |
parent | 0c795e466729deaf72ec8c067b116ca546fe98b8 (diff) |
workaround for Windfisch/muse#13 ("Edit/Copy" not enabled)
Diffstat (limited to 'muse2/muse')
-rw-r--r-- | muse2/muse/arranger/pcanvas.cpp | 7 |
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(); } //--------------------------------------------------------- |