Mercurial > octave
changeset 21010:9b21039bf63b
fix line number when removing a breakpoint via the gui (bug #46779)
* file-editor-tab.cc (handle_margin_clicked): fix line number for removing a breakpoint
author | Torsten <ttl@justmail.de> |
---|---|
date | Wed, 30 Dec 2015 08:28:37 +0100 |
parents | ea50940c362f |
children | d9f4e4961e09 |
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 Tue Dec 29 22:58:56 2015 +0100 +++ b/libgui/src/m-editor/file-editor-tab.cc Wed Dec 30 08:28:37 2015 +0100 @@ -373,7 +373,7 @@ else { if (markers_mask && (1 << marker::breakpoint)) - handle_request_remove_breakpoint (editor_linenr); + handle_request_remove_breakpoint (editor_linenr + 1); else { if (_edit_area->isModified ())