mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-27 21:20:34 +05:00
0023420: EDF 14291 - Renaming objects
Fixed regression causing SIGSEGV on object renaming introduced by implementation of issue 22873
This commit is contained in:
parent
d767647a79
commit
31792db89f
@ -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 ) )
|
||||
|
Loading…
Reference in New Issue
Block a user