changeset 21051:5c5af828c248 @

gui: only center line with debugger pointer if line is at the top or bottom * file-editor-tab.cc (insert_debugger_pointer): use center_current_line with new flag for only centering if the line is at the top or the bottom
author Torsten <ttl@justmail.de>
date Sat, 09 Jan 2016 15:02:48 +0100
parents 4e2e93ec558a
children b702efa70fb5
files libgui/src/m-editor/file-editor-tab.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.cc
+++ b/libgui/src/m-editor/file-editor-tab.cc
@@ -2208,7 +2208,7 @@
       connect (this, SIGNAL (remove_all_positions (void)),
                dp,   SLOT (handle_remove (void)));
 
-      center_current_line ();
+      center_current_line (false);
     }
 }