diff layer/TimeValueLayer.cpp @ 73:ad1fe715b480

* Make the item-edit dialog do something useful
author Chris Cannam
date Mon, 03 Apr 2006 17:18:27 +0000
parents bf306158803d
children 45ba0b381c5d
line wrap: on
line diff
--- a/layer/TimeValueLayer.cpp	Fri Mar 31 17:40:14 2006 +0000
+++ b/layer/TimeValueLayer.cpp	Mon Apr 03 17:18:27 2006 +0000
@@ -860,7 +860,8 @@
         (m_model->getSampleRate(),
          ItemEditDialog::ShowTime |
          ItemEditDialog::ShowValue |
-         ItemEditDialog::ShowText);
+         ItemEditDialog::ShowText,
+         m_model->getScaleUnits());
 
     dialog->setFrameTime(point.frame);
     dialog->setValue(point.value);