]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Hides the list if list items count less than 2
authorstv <stv@opencascade.com>
Tue, 10 Jan 2006 14:20:26 +0000 (14:20 +0000)
committerstv <stv@opencascade.com>
Tue, 10 Jan 2006 14:20:26 +0000 (14:20 +0000)
src/Qtx/QtxListResourceEdit.cxx

index 75e74e9980f9b779a0a68c631f065f451ff1a3de..60a5fbe4cf8c672c2fa0fd4078489572660d7f61 100644 (file)
@@ -168,6 +168,8 @@ void QtxListResourceEdit::updateState()
     myStack->show();
   else
     myStack->hide();
+
+  myList->setShown( myList->count() > 1 );
 }
 
 void QtxListResourceEdit::updateVisible()