From: sln Date: Wed, 23 May 2007 09:00:48 +0000 (+0000) Subject: Bug NPAL16035: Pb with the history list of salome (GUI) X-Git-Tag: T15881~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=82c9ff33e105b7576357d5c0bf4c544ba967c34f;p=modules%2Fgui.git Bug NPAL16035: Pb with the history list of salome (GUI) Now in python console after use of history of commands view is scrolled at the left side of console if current command can be completely displayed on the screen. void scrollViewAfterHistoryUsing( const QString& command ); method added --- diff --git a/src/PythonConsole/PythonConsole_PyEditor.h b/src/PythonConsole/PythonConsole_PyEditor.h index b353ee4da..01c2da393 100755 --- a/src/PythonConsole/PythonConsole_PyEditor.h +++ b/src/PythonConsole/PythonConsole_PyEditor.h @@ -62,6 +62,10 @@ public slots: virtual QPopupMenu* createPopupMenu( const QPoint& ); +private: + + void scrollViewAfterHistoryUsing( const QString& command ); + private: QString _buf; QString _currentCommand;