Fix for "16960 EDF 19475 - Control Free nodes" issue

This commit is contained in:
rnv 2019-05-17 11:49:10 +03:00
parent b8a546c91f
commit 7b4bb082fa

View File

@ -1750,7 +1750,7 @@ namespace
int anEntitiesCount = anActor->GetNumberControlEntities();
if (anEntitiesCount >= 0)
functorName = functorName + ": " + QString::number(anEntitiesCount);
anActor->GetScalarBarActor()->SetTitle( functorName.toLatin1().constData() );
anActor->GetScalarBarActor()->SetTitle( functorName.toUtf8().constData() );
SMESH::RepaintCurrentView();
#ifndef DISABLE_PLOT2DVIEWER
if ( anActor->GetPlot2Histogram() ) {