]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
PAL9133 : allow empty string as Input of ports
authorrahuel <rahuel@opencascade.com>
Thu, 9 Jun 2005 09:34:43 +0000 (09:34 +0000)
committerrahuel <rahuel@opencascade.com>
Thu, 9 Jun 2005 09:34:43 +0000 (09:34 +0000)
src/SUPERVGUI/SUPERVGUI_BrowseNodeDlg.cxx

index 57ba90952b384f0822fd0258ac1c7df57575d900..297c122f7218e6c6924cf88c2f1d0707c868bb3f 100644 (file)
@@ -66,7 +66,9 @@ bool SUPERVGUI_PortField::setNewValue() {
   if ( !myIsEditable ) return false;
 
   QString aTxt = myValue->text();
-  if ( aTxt.isNull() || aTxt.isEmpty() ) return false;
+//JR PAL9133 Debug :
+//  if ( aTxt.isNull() || aTxt.isEmpty() ) return false;
+  if ( aTxt.isNull() ) return false;
   
   if ( aTxt.find( "Unknown" ) < 0 ) {
     return myPort->Input( Supervision.getEngine()->StringValue( aTxt ) );