Salome HOME
Fix for "16960 EDF 19475 - Control Free nodes" issue
authorrnv <rnv@opencascade.com>
Fri, 17 May 2019 08:49:10 +0000 (11:49 +0300)
committerrnv <rnv@opencascade.com>
Fri, 17 May 2019 08:49:10 +0000 (11:49 +0300)
src/SMESHGUI/SMESHGUI.cxx

index cadf28054512d3f27c3eded297c9b12e8955cac1..82d159350f3e8b4aa4a6a9c70d2ddf44dc0e0672 100644 (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() ) {