Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f28e73
)
Issue #924 Fatal error as result of ExtrusionCut call
author
nds
<nds@opencascade.com>
Thu, 17 Sep 2015 06:12:41 +0000
(09:12 +0300)
committer
nds
<nds@opencascade.com>
Thu, 17 Sep 2015 06:13:04 +0000
(09:13 +0300)
An attempt to delete widgets.
src/XGUI/XGUI_PropertyPanel.cpp
patch
|
blob
|
history
diff --git
a/src/XGUI/XGUI_PropertyPanel.cpp
b/src/XGUI/XGUI_PropertyPanel.cpp
index d4bb4370bc3464d7d3b4650a7ac9a92163cd75c5..1b5a64aa5e651810cadfaca4cbecf2e7c768b565 100644
(file)
--- a/
src/XGUI/XGUI_PropertyPanel.cpp
+++ b/
src/XGUI/XGUI_PropertyPanel.cpp
@@
-94,8
+94,11
@@
void XGUI_PropertyPanel::cleanContent()
aLast = myWidgets.end();
for (; anIt != aLast; anIt++) {
QWidget* aWidget = *anIt;
- if (aWidget)
+ if (aWidget)
{
aWidget->blockSignals(true);
+ aWidget->setParent(0);
+ aWidget->deleteLater();
+ }
}
myWidgets.clear();