Merge branch 'hydro/imps_2017' into V8_3_BR

This commit is contained in:
Paul RASCLE 2017-04-29 11:50:59 +02:00
commit a2829b6eeb

View File

@ -212,9 +212,13 @@ int CurveCreator_TreeViewModel::getPoint( const QModelIndex& theIndx ) const
void CurveCreator_TreeViewModel::setCurve( CurveCreator_ICurve* theCurve )
{
myCurve = theCurve;
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
myCurve = theCurve;
reset();
#else
beginResetModel();
myCurve = theCurve;
endResetModel();
#endif
}