diff gui/src/m-editor/file-editor.cc @ 14829:e97be88fc478 gui

Fixed removing all breakpoints. * file-editor-tab: Renamed slot to remove all breakpoints. * file-editor: Renamed slot to remove all breakpoints. * octave-event: Added checking for return value when adding breakpoints.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Mon, 02 Jul 2012 15:18:55 +0200
parents eae0e9f2a8c6
children 41b86dc61306
line wrap: on
line diff
--- a/gui/src/m-editor/file-editor.cc	Mon Jul 02 12:35:08 2012 +0200
+++ b/gui/src/m-editor/file-editor.cc	Mon Jul 02 15:18:55 2012 +0200
@@ -230,7 +230,7 @@
 {
   file_editor_tab *activeFileEditorTab = active_editor_tab ();
   if (activeFileEditorTab)
-    activeFileEditorTab->remove_breakpoint ();
+    activeFileEditorTab->remove_all_breakpoints ();
 }
 
 void