// Module : SUPERV
#include "SUPERVGUI_Information.h"
+#include "SUPERVGUI.h"
#include "CAM_Application.h"
#include "SUIT_Desktop.h"
#include <qgroupbox.h>
#include <qlayout.h>
-
/*!
Constructor
*/
Trace("SUPERVGUI_Information::okButton");
//mkr : modifications for fixing bug IPAL9972
bool aIsAccept = true;
- if ( QString( myNode->Name() ).compare( nameV->text() ) != 0 )
+ if ( QString( myNode->Name() ).compare( nameV->text() ) != 0 ) {
if ( !myNode->SetName( nameV->text().latin1()) ) {
QMessageBox::warning( SUIT_Session::session()->activeApplication()->desktop(), tr( "ERROR" ), tr( "MSG_CANT_RENAMENODE" ) );
aIsAccept = false;
}
+ // mkr : PAL7037 => update dataflow name in object browser if this dialog called for the dataflow and the dataflow is in study -->
+ if ( myNode->IsGraph() || myNode->IsStreamGraph() ) {
+ SUPERVGUI* aSupMod = SUPERVGUI::Supervision();
+ if ( aSupMod ) aSupMod->updateDataFlowSOName(SUPERV::Graph::_narrow(myNode));
+ }
+ // mkr : PAL7037 <--
+ }
myNode->SetAuthor( authV->text().latin1() );
if (myNode->IsFactory()) {
SUPERV_FNode aFNode = SUPERV::FNode::_narrow(myNode);