Salome HOME
PR: mergefrom_PAL_OCC_21Oct04
[modules/kernel.git] / src / SALOMEGUI / QAD_PyEditor.cxx
index 72e22033ea4058816a10fa161458b08d7e9933a5..f5258e1a05a9b6bf35d6b397129e6f8aaf0fd31b 100644 (file)
@@ -46,6 +46,7 @@
 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
 //NRI
 
+#include "utilities.h"
 using namespace std;
 
 
@@ -409,7 +410,6 @@ void QAD_PyEditor::keyPressEvent( QKeyEvent *e )
              _isInHistory = true;
              _currentCommand = text(endLine).remove(0,SIZEPR);
              _currentCommand.truncate( _currentCommand.length() - 1 );
-             SCRUTE(_currentCommand);
            }
          QString previousCommand = myInterp->getPrevious();
          if (previousCommand.compare(BEGIN_HISTORY_PY) != 0)