diff layer/NoteLayer.cpp @ 1522:d5ef91dc2ea7

Merge from branch time-frequency-boxes
author Chris Cannam
date Wed, 25 Sep 2019 13:48:04 +0100
parents 0fa49a6ce64f
children 37df1530519d
line wrap: on
line diff
--- a/layer/NoteLayer.cpp	Tue Sep 17 12:50:58 2019 +0100
+++ b/layer/NoteLayer.cpp	Wed Sep 25 13:48:04 2019 +0100
@@ -1062,13 +1062,12 @@
     Event note(0);
     if (!getPointToDrag(v, e->x(), e->y(), note)) return false;
 
-//    Event note = *points.begin();
-
     ItemEditDialog *dialog = new ItemEditDialog
         (model->getSampleRate(),
          ItemEditDialog::ShowTime |
          ItemEditDialog::ShowDuration |
          ItemEditDialog::ShowValue |
+         ItemEditDialog::ShowLevel |
          ItemEditDialog::ShowText,
          getScaleUnits());