diff view/View.cpp @ 1439:b22a4df37095 single-point

Update to using export IDs stored in XmlExportables
author Chris Cannam
date Thu, 28 Mar 2019 11:55:31 +0000
parents 31499c3520ee
children 4b7fc925a5ce
line wrap: on
line diff
--- a/view/View.cpp	Fri Mar 22 17:49:15 2019 +0000
+++ b/view/View.cpp	Thu Mar 28 11:55:31 2019 +0000
@@ -234,7 +234,7 @@
     for (LayerList::const_iterator i = m_layerStack.begin();
          i != m_layerStack.end(); ++i) { 
         if ((*i)->needsTextLabelHeight()) {
-            sortedLayers[getObjectExportId(*i)] = *i;
+            sortedLayers[(*i)->getExportId()] = *i;
         }
     }