X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ProfileOp.cxx;h=759795a528cc20c5eb0ae59ae81ab4a971710cb8;hb=d6e19029f8b41f295db878e9aecf451c2edda4af;hp=ff20db083ede50f98bb0072955c86a9d680d9f9a;hpb=f662e2fdc45595b8dd6d7855f3bbd6e9a4176c77;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ProfileOp.cxx b/src/HYDROGUI/HYDROGUI_ProfileOp.cxx index ff20db08..759795a5 100644 --- a/src/HYDROGUI/HYDROGUI_ProfileOp.cxx +++ b/src/HYDROGUI/HYDROGUI_ProfileOp.cxx @@ -1,8 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE -// -// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// +// Copyright (C) 2014-2015 EDF-R&D // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either @@ -85,6 +81,8 @@ void HYDROGUI_ProfileOp::startOperation() HYDROGUI_ProfileDlg* aPanel = (HYDROGUI_ProfileDlg*)inputPanel(); aPanel->reset(); + setPreviewManager( aPanel->viewManager() ); + setCursor(); if( myIsEdit ) if ( isApplyAndClose() ) @@ -139,6 +137,7 @@ void HYDROGUI_ProfileOp::startOperation() void HYDROGUI_ProfileOp::abortOperation() { erasePreview(); + restoreCursor(); HYDROGUI_Operation::abortOperation(); } @@ -146,6 +145,7 @@ void HYDROGUI_ProfileOp::abortOperation() void HYDROGUI_ProfileOp::commitOperation() { erasePreview(); + restoreCursor(); HYDROGUI_Operation::commitOperation(); }