diff --git a/bin/CRITERIAGEO/mainWindow.cpp b/bin/CRITERIAGEO/mainWindow.cpp index 5e93d19b..f423f39d 100644 --- a/bin/CRITERIAGEO/mainWindow.cpp +++ b/bin/CRITERIAGEO/mainWindow.cpp @@ -484,7 +484,7 @@ int MainWindow::getRasterIndex(GisObject* myObject) { if (myObject->type == gisObjectRaster) { - if (rasterObjList.at(i)->getRaster() == myObject->getRaster()) + if (rasterObjList.at(i)->getRasterPointer() == myObject->getRaster()) return i; } /*