diff layer/RegionLayer.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 f2525e6cbdf1
children bd7fdc418f36
line wrap: on
line diff
--- a/layer/RegionLayer.cpp	Thu Jul 04 18:04:44 2019 +0100
+++ b/layer/RegionLayer.cpp	Fri Jul 05 15:34:50 2019 +0100
@@ -228,7 +228,7 @@
         if (model) {
             model->setScaleUnits
                 (UnitDatabase::getInstance()->getUnitById(value));
-            emit modelChanged();
+            emit modelChanged(m_model);
         }
     } else {
         return SingleColourLayer::setProperty(name, value);