From 79677d7e5d84ec32a43a863dfe32d76b9e4218f0 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 15 Sep 2006 12:22:28 +0000 Subject: [PATCH] Fix a bug: IsInCurrentView() method returns wrong value --- src/SALOME_SWIG/SALOMEGUI_Swig.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SALOME_SWIG/SALOMEGUI_Swig.cxx b/src/SALOME_SWIG/SALOMEGUI_Swig.cxx index ccf9b841a..9f8e1e20c 100644 --- a/src/SALOME_SWIG/SALOMEGUI_Swig.cxx +++ b/src/SALOME_SWIG/SALOMEGUI_Swig.cxx @@ -554,7 +554,7 @@ public: SALOME_View* view = dynamic_cast( window->getViewManager()->getViewModel() ); if ( view ) { SALOME_Prs* aPrs = view->CreatePrs( myEntry ); - myResult = aPrs->IsNull(); + myResult = !aPrs->IsNull(); } } } -- 2.39.2