Salome HOME
NCollection sequences improved.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_CopyPastePositionOp.cxx
index 0139ce9ce95bcfe50be20cb1292bb3264d0bd481..55a41afc8ec84ef57713cba14100329ee4a943c9 100644 (file)
@@ -56,8 +56,7 @@ void HYDROGUI_CopyPastePositionOp::startOperation()
       SUIT_ViewManager* aViewMgr = aModule->getApp()->activeViewManager();
       SUIT_ViewWindow* aViewWindow = aViewMgr ? aViewMgr->getActiveView() : 0;
       double aX, aY, aZ;
-      if ( aDisplayer->GetCursorViewCoordinates( aViewWindow, aModule->getPopupPosition(),
-                                                 aX, aY, aZ ) )
+      if ( aDisplayer->GetCursorViewCoordinates( aViewWindow, aX, aY, aZ ) )
         aResult = tr( "%1,%2" ).arg( aX ).arg( aY );
     }
     if ( !aResult.isEmpty() ) {