From 31792db89ff44b02f62e706747992514b73a78d9 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 9 Mar 2017 10:04:48 +0300 Subject: [PATCH] 0023420: EDF 14291 - Renaming objects Fixed regression causing SIGSEGV on object renaming introduced by implementation of issue 22873 --- src/GEOMGUI/GEOMGUI_TextTreeWdg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ) -- 2.39.2