Salome HOME
projects
/
modules
/
gui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef48575
)
Avoid printing error information if onGUIEvent() method is not implented in the Pytho...
author
vsr
<vsr@opencascade.com>
Thu, 17 Nov 2005 12:37:38 +0000
(12:37 +0000)
committer
vsr
<vsr@opencascade.com>
Thu, 17 Nov 2005 12:37:38 +0000
(12:37 +0000)
src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx
patch
|
blob
|
history
diff --git
a/src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx
b/src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx
index fa2d1a4e3578ff85395f79a744938354a04016ff..f0dbdab60f0514550b39aace9bdc0c3467acbeb4 100644
(file)
--- a/
src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx
+++ b/
src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx
@@
-799,8
+799,9
@@
void SALOME_PYQT_Module::guiEvent( const int theId )
PyObjWrapper res( PyObject_CallMethod( myModule, "OnGUIEvent", "i", theId ) );
if( !res ) {
- // Error!
- PyErr_Print();
+ // VSR: this method may not be implemented in Python module
+ // PyErr_Print();
+ PyErr_Clear();
}
}