From: vsr Date: Thu, 9 Mar 2017 07:04:48 +0000 (+0300) Subject: 0023420: EDF 14291 - Renaming objects X-Git-Tag: SHAPER_2.7.0~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=31792db89ff44b02f62e706747992514b73a78d9;p=modules%2Fgeom.git 0023420: EDF 14291 - Renaming objects Fixed regression causing SIGSEGV on object renaming introduced by implementation of issue 22873 --- diff --git a/src/GEOMGUI/GEOMGUI_TextTreeWdg.cxx b/src/GEOMGUI/GEOMGUI_TextTreeWdg.cxx index d69e7bba2..70d754765 100755 --- 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 anObjects = getObjects( DimensionShape ); if ( anObjects.contains( theEntry ) )