Sketcher: GeoList - Fix bug in index conversion
This commit is contained in:
committed by
abdullahtahiriyo
parent
0f64eaeb40
commit
501ebfe921
@@ -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