Gui: [skip ci] fix unicode handling when showing units in status bar
This commit is contained in:
@@ -494,7 +494,7 @@ bool SoFCUnifiedSelection::setHighlight(SoFullPath *path, const SoDetail *det,
|
||||
,pts[1].first,pts[1].second.c_str()
|
||||
,pts[2].first,pts[2].second.c_str());
|
||||
|
||||
getMainWindow()->showMessage(QString::fromLatin1(buf));
|
||||
getMainWindow()->showMessage(QString::fromUtf8(buf));
|
||||
|
||||
int ret = Gui::Selection().setPreselect(docname,objname,element,x,y,z);
|
||||
if(ret<0 && currenthighlight)
|
||||
|
||||
Reference in New Issue
Block a user