summaryrefslogtreecommitdiff
path: root/dgedit/canvastoolselections.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-10-02 16:24:57 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2011-10-02 16:24:57 +0200
commit0e3ed82bedabcfcd78dd8c16bbd59ada66bd2e56 (patch)
tree697fad8169f7b96e9039e9ebd5361578ee83f7dd /dgedit/canvastoolselections.cc
parentf474c3c923fe5bb27c1ee11e2c6dd57e41889f27 (diff)
Convert velocity levels from 0-127 (midi) to 0.0-1.0 (more generic).
Diffstat (limited to 'dgedit/canvastoolselections.cc')
-rw-r--r--dgedit/canvastoolselections.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/dgedit/canvastoolselections.cc b/dgedit/canvastoolselections.cc
index ba2d6b0..35c8e05 100644
--- a/dgedit/canvastoolselections.cc
+++ b/dgedit/canvastoolselections.cc
@@ -184,6 +184,7 @@ void CanvasToolSelections::keyReleaseEvent(QKeyEvent *event)
{
if(active_selection && event->key() == Qt::Key_Delete) {
_selections.remove(active_selection->from);
+ emit selectionsChanged(_selections);
canvas->update();
}
}