From aae848792f9c7eee8350df9c14fc9ab996e682e2 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 16 Jun 2016 13:08:40 +0300 Subject: [PATCH] Regression: "Unknown" scalar bar title --- src/SMESHGUI/SMESHGUI.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2