From: smh Date: Tue, 11 May 2004 05:47:50 +0000 (+0000) Subject: Fix on Bug KERNEL5851 X-Git-Tag: Ecole_Ete_a5~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=366bfa3f33c505b164f379afc18dde1fcc1d57bd;p=modules%2Fkernel.git Fix on Bug KERNEL5851 - V1.4.1 : bug in embedded Python interpretor --- diff --git a/src/SALOMEGUI/QAD_PyEditor.cxx b/src/SALOMEGUI/QAD_PyEditor.cxx index f344a3b3d..72e22033e 100644 --- a/src/SALOMEGUI/QAD_PyEditor.cxx +++ b/src/SALOMEGUI/QAD_PyEditor.cxx @@ -138,6 +138,9 @@ protected: anId = QAD_PyEditor::PYTHON_INCOMPLETE; myListener->myError = myInterp->getverr().c_str(); myListener->myOutput = myInterp->getvout().c_str(); + }else{ + myListener->myError = ""; + myListener->myOutput = ""; } QThread::postEvent(myListener, new QCustomEvent(anId)); QThread::postEvent(myListener, new QCustomEvent(QAD_PyEditor::UNSET_CURSOR));