From: rahuel Date: Thu, 9 Jun 2005 09:34:43 +0000 (+0000) Subject: PAL9133 : allow empty string as Input of ports X-Git-Tag: T2_2_4a3~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=18cc6cb398f413258a8a5e0e69b6cddc5a9ba812;p=modules%2Fsuperv.git PAL9133 : allow empty string as Input of ports --- diff --git a/src/SUPERVGUI/SUPERVGUI_BrowseNodeDlg.cxx b/src/SUPERVGUI/SUPERVGUI_BrowseNodeDlg.cxx index 57ba909..297c122 100644 --- a/src/SUPERVGUI/SUPERVGUI_BrowseNodeDlg.cxx +++ b/src/SUPERVGUI/SUPERVGUI_BrowseNodeDlg.cxx @@ -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 ) );