From: eap Date: Thu, 16 Jun 2016 10:08:40 +0000 (+0300) Subject: Regression: "Unknown" scalar bar title X-Git-Tag: V8_1_0a1~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aae848792f9c7eee8350df9c14fc9ab996e682e2;p=modules%2Fsmesh.git Regression: "Unknown" scalar bar title --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 0e2f52983..ccf68d935 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -1653,8 +1653,8 @@ namespace SMESH::SMESH_IDSource_var anIDSrc = SMESH::SMESH_IDSource::_narrow( aObject ); if ( !anIDSrc->_is_nil() ) { if ( SMESH_Actor *anActor = SMESH::FindActorByEntry( anIO->getEntry()) ) { - QString functorName = functorToString( anActor->GetFunctor() ); anActor->SetControlMode( aControl ); + QString functorName = functorToString( anActor->GetFunctor() ); anActor->GetScalarBarActor()->SetTitle( functorName.toLatin1().constData() ); SMESH::RepaintCurrentView(); #ifndef DISABLE_PLOT2DVIEWER