]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
bos #19219 [CEA] SIGSEGV when right-click in the view in 3D layers dialog box
authorvsr <vsr@opencascade.com>
Mon, 15 Jun 2020 15:47:42 +0000 (18:47 +0300)
committervsr <vsr@opencascade.com>
Mon, 15 Jun 2020 15:47:42 +0000 (18:47 +0300)
src/LightApp/LightApp_Selection.cxx
src/LightApp/LightApp_Selection.h

index 45c81f6e3b98249a448576ec466033f141010d2c..b5b6ec74316dbbc300264bc62626ec77a682fabe 100644 (file)
@@ -102,8 +102,9 @@ void LightApp_Selection::init( const QString& client, LightApp_SelectionMgr* mgr
 
         entries.insert( entry );
 
-       setObjectInfo( num, OI_Entry, entry );
-       setObjectInfo( num, OI_Reference, sowner->entry() != entry );
+        setObjectInfo( num, OI_Entry, entry );
+        setObjectInfo( num, OI_Reference, sowner->entry() != entry );
+        setObjectInfo( num, OI_RefEntry, sowner->entry() );
 
         if ( processOwner( sowner ) )
           num++;
index 51f68e1e32c6d47f140569df212d898f7a568bdc..82647bef7524ec7515526c9d5b20f97c2d739f59 100644 (file)
@@ -45,7 +45,7 @@ class SUIT_ViewWindow;
 class LIGHTAPP_EXPORT LightApp_Selection : public QtxPopupSelection
 {
 protected:
-  typedef enum { OI_Entry, OI_Reference, OI_User } ObjectInformation;
+  typedef enum { OI_Entry, OI_Reference, OI_RefEntry, OI_User } ObjectInformation;
 
 public:
   LightApp_Selection();