changeset 15320:117966ca93be draft

back off on history scrolling change * history-dockwidget.cc (history_dock_widget::event_accepted): Don't force scrolling to the bottom of the list.
author John W. Eaton <jwe@octave.org>
date Thu, 06 Sep 2012 14:57:50 -0400
parents d7514add71e2
children daf74ce2afdc
files libgui/src/history-dockwidget.cc
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/history-dockwidget.cc
+++ b/libgui/src/history-dockwidget.cc
@@ -63,7 +63,13 @@
             }
         }
 
-      _history_list_view->scrollToBottom ();
+      // FIXME -- how to make the widget scroll to the bottom when an
+      // item is added, but leave it alone if the user has moved it
+      // somewhere other than the bottom of the list?  The following
+      // doesn't seem to work.  It forces to the widget to always scroll
+      // to the bottom, even if no items are added.
+      //
+      // _history_list_view->scrollToBottom ();
     }
 
   // Post a new update event in a given time. This prevents flooding the