]> SALOME platform Git repositories - modules/superv.git/blobdiff - src/SUPERVGUI/SUPERVGUI_BrowseNodeDlg.cxx
Salome HOME
Initial version of files for OCC developers
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI_BrowseNodeDlg.cxx
index dd0939e97fdef71e409a0505fbfb0d70fc164fcc..7a95cb0b9f271d6b8682c08b463b350a2b29b957 100644 (file)
@@ -433,6 +433,13 @@ void SUPERVGUI_GetValueDlg::accept() {
       myPortESNode->sync();
     else {
       myPortCanvas->sync();
+
+      // asv : 19.11.04 : fix for 6170, last comment of it about BrowsePort - update node status
+      if ( myPortCanvas->parent() && myPortCanvas->parent()->inherits( "SUPERVGUI_CanvasNode" ) ) {
+       SUPERVGUI_CanvasNode* aNode = (SUPERVGUI_CanvasNode*)myPortCanvas->parent();
+       aNode->sync();
+      }
+
       myPortCanvas->getMain()->getCanvas()->update();
     }
   }