From 7e5d5eb4f0d5ba038b3ea79cc7cf68e9c14b5c81 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 30 Jan 2007 12:48:57 +0000 Subject: [PATCH] Rollback previous modifications (Factory SIP keyword) because selection stops working correctly in this case. --- src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip | 2 +- src/SALOME_PYQT/SalomePyQt/SalomePyQt_v4.sip | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip index 226384250..f73f7b0ea 100644 --- a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip +++ b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip @@ -84,7 +84,7 @@ public: static QWidget* getMainFrame(); static QMenuBar* getMainMenuBar(); static QPopupMenu* getPopupMenu( const MenuName ); - static SALOME_Selection* getSelection(); + static SALOME_Selection* getSelection() /Factory/; static int getStudyId(); static void putInfo( const QString&, int = 0 ); static const QString getActiveComponent(); diff --git a/src/SALOME_PYQT/SalomePyQt/SalomePyQt_v4.sip b/src/SALOME_PYQT/SalomePyQt/SalomePyQt_v4.sip index 68e3bfcc1..c550e2409 100644 --- a/src/SALOME_PYQT/SalomePyQt/SalomePyQt_v4.sip +++ b/src/SALOME_PYQT/SalomePyQt/SalomePyQt_v4.sip @@ -84,7 +84,7 @@ public: static QWidget* getMainFrame() /ReleaseGIL/ ; static QMenuBar* getMainMenuBar() /ReleaseGIL/ ; static QPopupMenu* getPopupMenu( const MenuName ) /ReleaseGIL/ ; - static SALOME_Selection* getSelection() /ReleaseGIL/ ; + static SALOME_Selection* getSelection() /Factory,ReleaseGIL/ ; static int getStudyId() /ReleaseGIL/ ; static void putInfo( const QString&, const int = 0 ) /ReleaseGIL/ ; static const QString getActiveComponent() /ReleaseGIL/ ; -- 2.39.2