]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix a bug: IsInCurrentView() method returns wrong value For_GUI_AutoTools V3_2_2
authorvsr <vsr@opencascade.com>
Fri, 15 Sep 2006 12:22:28 +0000 (12:22 +0000)
committervsr <vsr@opencascade.com>
Fri, 15 Sep 2006 12:22:28 +0000 (12:22 +0000)
src/SALOME_SWIG/SALOMEGUI_Swig.cxx

index ccf9b841abee3f1da60b4b0a9ce5ffb114865257..9f8e1e20cdbe2e1de53d7c16d4b876294b6653a5 100644 (file)
@@ -554,7 +554,7 @@ public:
        SALOME_View* view = dynamic_cast<SALOME_View*>( window->getViewManager()->getViewModel() );
        if ( view ) {
          SALOME_Prs* aPrs = view->CreatePrs( myEntry );
-         myResult = aPrs->IsNull();
+         myResult = !aPrs->IsNull();
        }
       }
     }