From 18cc6cb398f413258a8a5e0e69b6cddc5a9ba812 Mon Sep 17 00:00:00 2001 From: rahuel Date: Thu, 9 Jun 2005 09:34:43 +0000 Subject: [PATCH] PAL9133 : allow empty string as Input of ports --- src/SUPERVGUI/SUPERVGUI_BrowseNodeDlg.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ) ); -- 2.39.2