diff layer/TimeValueLayer.cpp @ 1481:e540aa5d89cd by-id

Update for removal of (public) getId from Model
author Chris Cannam
date Fri, 05 Jul 2019 15:34:50 +0100
parents 36ad3cdabf55
children a2fbcfeb2572
line wrap: on
line diff
--- a/layer/TimeValueLayer.cpp	Thu Jul 04 18:04:44 2019 +0100
+++ b/layer/TimeValueLayer.cpp	Fri Jul 05 15:34:50 2019 +0100
@@ -284,7 +284,7 @@
         if (model) {
             model->setScaleUnits
                 (UnitDatabase::getInstance()->getUnitById(value));
-            emit modelChanged();
+            emit modelChanged(m_model);
         }
     } else if (name == "Draw Segment Division Lines") {
         setDrawSegmentDivisions(value > 0.5);