diff layer/ImageLayer.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 37df1530519d
line wrap: on
line diff
--- a/layer/ImageLayer.cpp	Thu Jul 04 18:04:44 2019 +0100
+++ b/layer/ImageLayer.cpp	Fri Jul 05 15:34:50 2019 +0100
@@ -930,7 +930,7 @@
     m_images.erase(img);
     for (ViewImageMap::iterator i = m_scaled.begin(); i != m_scaled.end(); ++i) {
         i->second.erase(img);
-        emit modelChanged();
+        emit modelChanged(getModel());
     }
 }