From 82c9ff33e105b7576357d5c0bf4c544ba967c34f Mon Sep 17 00:00:00 2001 From: sln Date: Wed, 23 May 2007 09:00:48 +0000 Subject: [PATCH] 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 --- src/PythonConsole/PythonConsole_PyEditor.h | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.39.2