summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse/ChangeLog1
-rwxr-xr-xmuse/share/scripts/RemoveShortEvents2
2 files changed, 2 insertions, 1 deletions
diff --git a/muse/ChangeLog b/muse/ChangeLog
index 13785dcd..d65eb8da 100644
--- a/muse/ChangeLog
+++ b/muse/ChangeLog
@@ -1,6 +1,7 @@
12.07.2010
* Fixed: When wave files were edited allocation was on stack which caused crashes for larger selections, now done on heap (rj)
* Added: Print svn version in -v and About box. (rj)
+ * Fixed: Bug with RemoveShortEvents plugin script, would not remove anything due to index error (rj)
10.07.2010
* Added: Insert measure, inserts empty space and moves everything after playpointer to the right and
Part-insert, pastes parts and moves everything after the paste point to the right
diff --git a/muse/share/scripts/RemoveShortEvents b/muse/share/scripts/RemoveShortEvents
index ce578fb0..cc6735b2 100755
--- a/muse/share/scripts/RemoveShortEvents
+++ b/muse/share/scripts/RemoveShortEvents
@@ -43,7 +43,7 @@ class RemoveShortEvents(QtGui.QWidget):
inputEvents = testFile.readlines()
testFile.close()
- beatDiv = int(self.timeEdit.itemData(self.timeEdit.currentIndex()))
+ beatDiv = int(self.timeEdit.itemData(self.timeEdit.currentIndex()).toInt()[0])
minSize=0 # fill in when we get the beat size value
outputEvents=[]