changeset 14799:c6135951bc18 gui

Fixed detecting debugging mode. * octave-link.cc: Monitoring Vdebugging instead of tree_evaluator::debug_mode.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Fri, 08 Jun 2012 21:11:23 +0200
parents 4812bcd524a1
children 564cc673bcc5
files gui/src/octave-adapter/octave-link.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/src/octave-adapter/octave-link.cc
+++ b/gui/src/octave-adapter/octave-link.cc
@@ -72,9 +72,9 @@
             ->current_directory_has_changed (_last_working_directory);
     }
 
-  if (_debugging_mode_active != tree_evaluator::debug_mode)
+  if (_debugging_mode_active != Vdebugging)
     {
-      _debugging_mode_active = tree_evaluator::debug_mode;
+      _debugging_mode_active = Vdebugging;
       if (_octave_event_listener)
         {
           if (_debugging_mode_active)