Salome HOME
Fix for bug IPAL9623 : Failure of dataflow with med fields. T_3_0_2a1
authormkr <mkr@opencascade.com>
Tue, 9 Aug 2005 12:40:47 +0000 (12:40 +0000)
committermkr <mkr@opencascade.com>
Tue, 9 Aug 2005 12:40:47 +0000 (12:40 +0000)
src/SUPERVGUI/SUPERVGUI_Main.cxx

index d5e4e3f26f62ea021ce0e85207c9523f0121e057..748f193dea2f5556b09fd158ac44f6d8f422156b 100644 (file)
@@ -1082,7 +1082,7 @@ bool SUPERVGUI_Main::putDataStudy( SUPERV_Port p, const char* inout ) {
   else
     aBuilder->AbortCommand();
 
-  if ( p->State() == SUPERV::ReadyState ) {
+  if ( !myThread->running() ) {
     SUPERVGUI* aSupMod = SUPERVGUI::Supervision();
     if ( aSupMod ) {
       if ( PublishOtherComponent )