# HG changeset patch # User Torsten # Date 1452348168 -3600 # Node ID 5c5af828c248794bc94c0416e28740e6f5002ff3 # Parent 4e2e93ec558a71971c24d01b715b06ec2e866d71 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 diff -r 4e2e93ec558a -r 5c5af828c248 libgui/src/m-editor/file-editor-tab.cc --- a/libgui/src/m-editor/file-editor-tab.cc Fri Jan 08 15:30:22 2016 -0500 +++ b/libgui/src/m-editor/file-editor-tab.cc Sat Jan 09 15:02:48 2016 +0100 @@ -2208,7 +2208,7 @@ connect (this, SIGNAL (remove_all_positions (void)), dp, SLOT (handle_remove (void))); - center_current_line (); + center_current_line (false); } }