]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Update for bug IPAL18844.
authorskl <skl@opencascade.com>
Thu, 19 Jun 2008 09:22:39 +0000 (09:22 +0000)
committerskl <skl@opencascade.com>
Thu, 19 Jun 2008 09:22:39 +0000 (09:22 +0000)
src/VISU_I/VISU_Gen_i.cc

index c1a385e8bbd1e4b2e116e0b14d8742a1667f3533..e67d8dd93cd2751fc27db4e594fffcc977b48c6e 100644 (file)
@@ -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));