summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Shann <rshann@debianrts.home>2011-02-05 18:05:14 +0000
committerRichard Shann <rshann@debianrts.home>2011-02-05 18:05:14 +0000
commit88c5660e0202aadeef3eaebfc81954b977939dd3 (patch)
treecc0308c7885c78ef6aed950626084b904319d634
parent3e7f5f8d7ba41e8f3568281928673f07c266182b (diff)
Do not delete multiple objects inside dnm_deleteobject
-rw-r--r--src/commandfuncs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commandfuncs.c b/src/commandfuncs.c
index cb86b936..0358466e 100644
--- a/src/commandfuncs.c
+++ b/src/commandfuncs.c
@@ -1859,6 +1859,8 @@ dnm_deleteobject (DenemoScore * si)
break;
case TIMESIG:
delete_object_helper (si);
+#if 0
+ //do not do this, as this is a primitive and should only delete one object
/* For time signature changes remove from all other staffs
* if in the conventional, first, position */
for (curstaff = si->thescore; curstaff; curstaff = curstaff->next)
@@ -1874,6 +1876,7 @@ dnm_deleteobject (DenemoScore * si)
}
}
}
+#endif
reset_cursor_stats (si);
find_xes_in_all_measures (si);
break;