summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2010-07-12 22:52:05 +0000
committerRobert Jonsson <spamatica@gmail.com>2010-07-12 22:52:05 +0000
commitb2c20164e33a20c600a60dc1f21464c6a13e4afe (patch)
treeff5b2530c935db48d883631499855bf478dee368
parent0add33dd2fa7ec2442d24f895b0b428b247ee327 (diff)
fixed plugin RemoveShortEvents
-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=[]