void SUPERVGUI_BrowseNodeDlg::setValues() {
SUPERVGUI_PortField* aField;
for ( aField = myPortsList.first(); aField; aField = myPortsList.next() ) {
- aField->updateGUI();
+ if ( aField->getData().isEmpty() || aField->getData().isNull() ) // mkr : PAL11406
+ aField->updateGUI();
}
}
bool isEditable () { return myIsEditable; }
- void setData( const QString& data ) { myValue->setText( data ); myValue->home( false ); }
- void updateGUI() { myValue->setText( myPort->ToString() ); }
+ QString getData() const { return myValue->text(); } // mkr : PAL11406
+ void setData( const QString& data ) { myValue->setText( data ); myValue->home( false ); }
+ void updateGUI() { myValue->setText( myPort->ToString() ); }
bool setNewValue();