Sketcher: GeoList - Fix bug in index conversion
This commit is contained in:
committed by
abdullahtahiriyo
parent
4bcca31b02
commit
9ce2eaf32e
@@ -94,7 +94,7 @@ int GeoListModel<T>::getGeoIdFromGeomListIndex(int index) const
|
||||
if(index < intGeoCount)
|
||||
return index;
|
||||
else
|
||||
return -( index - intGeoCount);
|
||||
return ( index - geomlist.size());
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user