}
}
+// mkr : IPAL11362
+/**
+ * Update current values on show event
+ */
+void SUPERVGUI_Main::showEvent( QShowEvent* theEvent ) {
+ sync();
+ QWidget::showEvent( theEvent );
+}
+
/**
* Editing() is to be called by any operation in GUI before modification of a datamodel
* (add/remove ports or nodes, etc.). It is used to resolve inconsistancies between 2 data models
begin = false ;
}
if ( anInPort->IsLoop() || ( anInPort->IsGate() && anInPort->IsNotConnected() &&
- ( IsExecuting() || DataFlowEditor()->IsReadOnly() ) ) ) {
+ ( /*IsExecuting() || */DataFlowEditor()->IsReadOnly() ) ) ) { // mkr : IPAL11362
// MESSAGE( "InPort " << i << " " << anInPort->PortName() << " of Node " << Name() << " ignored" ) ;
}
else if ( CORBA::is_nil( anInPort->ObjRef() ) ) {
begin = false ;
}
if ( anOutPort->IsLoop() || ( anOutPort->IsGate() && anOutPort->IsNotConnected() &&
- ( IsExecuting() || DataFlowEditor()->IsReadOnly() ) ) ) {
+ ( /*IsExecuting() || */DataFlowEditor()->IsReadOnly() ) ) ) { // mkr : IPAL11362
// MESSAGE( "OutPort " << i << " " << anOutPort->PortName() << " of Node " << Name() << " ignored" ) ;
}
else if ( CORBA::is_nil( anOutPort->ObjRef() ) ) {