Fix display bug when deleting a measure with a clef change in it.
authorrshann <richard.shann@virgin.net>
Sun, 18 Nov 2012 16:44:59 +0000 (16:44 +0000)
committerrshann <richard.shann@virgin.net>
Sun, 18 Nov 2012 16:44:59 +0000 (16:44 +0000)
src/measureops.c

index 1983a7a..0f13ee0 100644 (file)
@@ -151,6 +151,8 @@ staffremovemeasures (staffnode * curstaff, guint pos)
     
     ((DenemoStaff *) curstaff->data)->nummeasures--;
   }
+//if the removed measures have a clef change in them the noteheights may need to change so...  
+  fixnoteheights(curstaff->data);
 }
 
 /**