From: skl Date: Thu, 19 Jun 2008 09:22:39 +0000 (+0000) Subject: Update for bug IPAL18844. X-Git-Tag: V4_1_0_maintainance_20080620~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b83733a287665cf0019d6d7281e50994c32434af;p=modules%2Fvisu.git Update for bug IPAL18844. --- diff --git a/src/VISU_I/VISU_Gen_i.cc b/src/VISU_I/VISU_Gen_i.cc index c1a385e8..e67d8dd9 100644 --- a/src/VISU_I/VISU_Gen_i.cc +++ b/src/VISU_I/VISU_Gen_i.cc @@ -1166,7 +1166,9 @@ namespace VISU VISU_Gen_i ::CreateTable(const char* theTableEntry) { - if(myStudyDocument->GetProperties()->IsLocked()) + TCollection_AsciiString tmp( (char*)theTableEntry ); // 11.06.2008 IPAL18844 + if( myStudyDocument->GetProperties()->IsLocked() || + tmp.Length()==0 ) return Table::_nil(); return ProcessEvent(new CreateTableEvent(myStudyDocument, theTableEntry));