From b83733a287665cf0019d6d7281e50994c32434af Mon Sep 17 00:00:00 2001 From: skl Date: Thu, 19 Jun 2008 09:22:39 +0000 Subject: [PATCH] Update for bug IPAL18844. --- src/VISU_I/VISU_Gen_i.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)); -- 2.39.2