summaryrefslogtreecommitdiff
path: root/muse2/muse/steprec.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-08-18 16:45:06 +0000
committerFlorian Jung <flo@windfisch.org>2011-08-18 16:45:06 +0000
commit0002e57359fb002a70cc9559308619ff611718c9 (patch)
tree4d430468df5c1a38895ae9f56a61127240e5ea2b /muse2/muse/steprec.cpp
parent3513555193d44fe99bc30dd3bf04701278a797a1 (diff)
parent35c95c10cca9938210818c0b809b1ff4f9c4ad3d (diff)
merged with trunk, except:
- not applied the "masteredit saves toolbar state" change, as this is done by TopWin here in experimental - fixed some indentation error in scoreedit.cpp
Diffstat (limited to 'muse2/muse/steprec.cpp')
-rw-r--r--muse2/muse/steprec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/steprec.cpp b/muse2/muse/steprec.cpp
index c1fc23b1..45af3930 100644
--- a/muse2/muse/steprec.cpp
+++ b/muse2/muse/steprec.cpp
@@ -77,7 +77,7 @@ void StepRec::record(Part* part, int pitch, int len, int step, int velo, bool ct
{
// if we already entered the note, delete it
// if we would find a note after part->lenTick(), the above "if"
- // avoids this. this has to be avoided because then part->hasHiddenNotes() is true
+ // avoids this. this has to be avoided because then part->hasHiddenEvents() is true
// which results in forbidding any action beyond its end
EventRange range = events->equal_range(tick - part->tick());
for (iEvent i = range.first; i != range.second; ++i)
@@ -173,7 +173,7 @@ void StepRec::record(Part* part, int pitch, int len, int step, int velo, bool ct
}
steprec_record_foot:
- if (!((lasttick > part->lenTick()) && part->hasHiddenNotes())) // allowed?
+ if (!((lasttick > part->lenTick()) && part->hasHiddenEvents())) // allowed?
{
if (lasttick > part->lenTick()) // we have to expand the part?
schedule_resize_all_same_len_clone_parts(part, lasttick, operations);