Merge remote-tracking branch 'remotes/origin/hydro/imps_2017_salome_83' into HEAD

This commit is contained in:
isn 2017-11-08 15:14:31 +03:00
commit 227f211520

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
}