Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d767647
)
0023420: EDF 14291 - Renaming objects
author
vsr
<vsr@opencascade.com>
Thu, 9 Mar 2017 07:04:48 +0000
(10:04 +0300)
committer
vsr
<vsr@opencascade.com>
Thu, 9 Mar 2017 07:04:48 +0000
(10:04 +0300)
Fixed regression causing SIGSEGV on object renaming introduced by implementation of issue 22873
src/GEOMGUI/GEOMGUI_TextTreeWdg.cxx
patch
|
blob
|
history
diff --git
a/src/GEOMGUI/GEOMGUI_TextTreeWdg.cxx
b/src/GEOMGUI/GEOMGUI_TextTreeWdg.cxx
index d69e7bba2d058f7a8cd7653a12f26ee58a4a764b..70d7547656edb23f988cd8c5c8b36e47ff3ec0e1 100755
(executable)
--- a/
src/GEOMGUI/GEOMGUI_TextTreeWdg.cxx
+++ b/
src/GEOMGUI/GEOMGUI_TextTreeWdg.cxx
@@
-319,7
+319,7
@@
void GEOMGUI_TextTreeWdg::updateAnnotationBranch( const QString& theEntry )
//=================================================================================
void GEOMGUI_TextTreeWdg::updateObjectName( const QString& theEntry )
{
- QTreeWidgetItem* anObjectItem;
+ QTreeWidgetItem* anObjectItem
= 0
;
QHash<QString, QTreeWidgetItem*> anObjects = getObjects( DimensionShape );
if ( anObjects.contains( theEntry ) )