From 7b4bb082fa8d773475d691fd327ee78f572b3d92 Mon Sep 17 00:00:00 2001 From: rnv Date: Fri, 17 May 2019 11:49:10 +0300 Subject: [PATCH] Fix for "16960 EDF 19475 - Control Free nodes" issue --- 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 cadf28054..82d159350 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -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() ) { -- 2.39.2