From: mzn Date: Fri, 14 Nov 2008 14:56:07 +0000 (+0000) Subject: Fix for bug IPAL20182 (Qt4 porting: no line folding after script execution). X-Git-Tag: PARAVIS_TEST~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=81368c318cbcb27268ec97e51c3c217c3795812a;p=modules%2Fgui.git Fix for bug IPAL20182 (Qt4 porting: no line folding after script execution). --- diff --git a/src/PyConsole/PyConsole_Editor.cxx b/src/PyConsole/PyConsole_Editor.cxx index af69ea1fb..449ac23ec 100644 --- a/src/PyConsole/PyConsole_Editor.cxx +++ b/src/PyConsole/PyConsole_Editor.cxx @@ -318,6 +318,8 @@ void PyConsole_Editor::exec( const QString& command ) myHistory.push_back( lines[i] ); addText( ( i == 0 ? READY_PROMPT : DOTS_PROMPT ) + lines[i], i != 0 ); } + // IPAL20182 + addText( "", true ); // set read-only mode setReadOnly( true ); // set busy cursor