Salome HOME
projects
/
modules
/
visu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for Bug IPAL8945
[modules/visu.git]
/
src
/
VISUGUI
/
VisuGUI_CutPlanesDlg.cxx
diff --git
a/src/VISUGUI/VisuGUI_CutPlanesDlg.cxx
b/src/VISUGUI/VisuGUI_CutPlanesDlg.cxx
index 8b92177108b4a47ba17a965c7d18ce5262c6f604..c4072907cd942daefde932fd03132643960e4129 100644
(file)
--- a/
src/VISUGUI/VisuGUI_CutPlanesDlg.cxx
+++ b/
src/VISUGUI/VisuGUI_CutPlanesDlg.cxx
@@
-530,10
+530,14
@@
void VisuGUI_CutPlanesDlg::accept()
// return;
//}
if (myScalarPane->check())
- QDialog::accept();
+ {
+ myScalarPane->deletePreview();
+ QDialog::accept();
+ }
}
void VisuGUI_CutPlanesDlg::reject() {
+ myScalarPane->deletePreview();
QDialog::reject();
}