Salome HOME
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_CopyPastePositionOp.cxx
index 48ed43786bab435bb157e669f1dd3527296a911a..58f4fe0e94c4dea970c2fe53fb7f02c217d3dfae 100644 (file)
@@ -58,8 +58,8 @@ void HYDROGUI_CopyPastePositionOp::startOperation()
       SUIT_ViewWindow* aViewWindow = aViewMgr ? aViewMgr->getActiveView() : 0;
       double aX, aY, aZ;
       if ( aDisplayer->GetCursorViewCoordinates( aViewWindow, aX, aY, aZ ) ) {
-        QString aXStr = HYDROGUI_Tool::GetCoordinateString( aX );
-        QString anYStr = HYDROGUI_Tool::GetCoordinateString( aY );
+        QString aXStr = HYDROGUI_Tool::GetCoordinateString( aX, false );
+        QString anYStr = HYDROGUI_Tool::GetCoordinateString( aY, false );
         aResult = tr( "%1,%2" ).arg( aXStr ).arg( anYStr );
       }
     }