]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Bug NPAL16035: Pb with the history list of salome (GUI)
authorsln <sln@opencascade.com>
Wed, 23 May 2007 09:00:48 +0000 (09:00 +0000)
committersln <sln@opencascade.com>
Wed, 23 May 2007 09:00:48 +0000 (09:00 +0000)
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

index b353ee4dadf5b08d83d2ef7db338aca02d0d073b..01c2da3935ee609417519a5ef9cbc00fe4c0b06a 100755 (executable)
@@ -62,6 +62,10 @@ public slots:
 
   virtual QPopupMenu* createPopupMenu( const QPoint& );
   
+private:
+  
+  void scrollViewAfterHistoryUsing( const QString& command );
+  
 private:
   QString        _buf;
   QString        _currentCommand;