Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #1327: implementation of the scaling operations
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_Operations.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_Operations.cxx
b/src/HYDROGUI/HYDROGUI_Operations.cxx
index 75ca6f832714174cb3a11b9d1b622a7eed06100a..cb4ad5206aa6e97c5b283a71cd056a69152bcabe 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_Operations.cxx
+++ b/
src/HYDROGUI/HYDROGUI_Operations.cxx
@@
-801,5
+801,13
@@
void HYDROGUI_Module::onBathymetrySelection()
void HYDROGUI_Module::onBathymetryText()
{
void HYDROGUI_Module::onBathymetryText()
{
- //TODO
+ QAction* a = qobject_cast<QAction*>( sender() );
+ if( !a )
+ return;
+
+ bool isChecked = a->isChecked();
+ if( isChecked )
+ startOperation( BathymetryTextId );
+ else
+ operation( BathymetryTextId )->abort();
}
}