summaryrefslogtreecommitdiff
path: root/muse2/muse/midiedit
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-04-21 10:40:02 +0000
committerFlorian Jung <flo@windfisch.org>2011-04-21 10:40:02 +0000
commitba3b8723b9672bd42888da2e9f1f644393a46c39 (patch)
tree71ea9c0704549784a3f0ffb597bbf03ae240f1d9 /muse2/muse/midiedit
parent79f53afff1d249fb568bcf266bdb4ac8fe9b6521 (diff)
parent0b8e29363db66ddbd0dac925bb57b75310a93eba (diff)
merged in keymap-undo and -songChanged support from trunk
Diffstat (limited to 'muse2/muse/midiedit')
-rw-r--r--muse2/muse/midiedit/scoreedit.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/muse2/muse/midiedit/scoreedit.cpp b/muse2/muse/midiedit/scoreedit.cpp
index 6d6b1879..e904ce46 100644
--- a/muse2/muse/midiedit/scoreedit.cpp
+++ b/muse2/muse/midiedit/scoreedit.cpp
@@ -659,10 +659,10 @@ void ScoreCanvas::song_changed(int flags)
{
if (flags & (SC_PART_INSERTED | SC_PART_MODIFIED | SC_PART_REMOVED |
SC_EVENT_INSERTED | SC_EVENT_MODIFIED | SC_EVENT_REMOVED |
- SC_SIG) )
+ SC_SIG | SC_KEY) )
{
cout << "song changed!" << endl;
-
+
calc_pos_add_list();
for (list<staff_t>::iterator it=staves.begin(); it!=staves.end(); it++)
@@ -3236,7 +3236,6 @@ void ScoreCanvas::set_quant(int val)
/* BUGS and potential bugs
* o when color=black, then the tie has a wrong color, because
* partColors[BLACK_INDEX] is out of bounds
- * o updating the keymap doesn't emit a songChanged() signal!
* o when the keymap is not used, this will probably lead to a bug
* o when adding a note, it's added to the first stave
* the problem is: there's always the first part selected