Mercurial > octave-nkf
comparison libinterp/corefcn/octave-link.cc @ 20005:f7846f0ea6db
GUI: enable workspace update when debugging (Bug #44455)
* libgui/src/main-window.cc
(main_window::construct_octave_qt_link): add debug parameter to set_workspace
* libgui/src/octave-qt-link.cc, libgui/src/octave-qt-link.h
(octave_qt_link::do_set_workspace): add debug variable, check top_level AND debug flag for redraw
(octave_qt_link::do_set_workspace): add debug variable to emit set_work_space_signal
* libgui/src/workspace-model.cc, libgui/src/workspace-model.h
(workspace_model::set_workspace): add debug flag to function
* libinterp/corefcn/octave-link.cc, libinterp/corefcn/octave-link.h
(octave_link::set_workspace): send debug flag in do_set_workspace
(octave_link::do_set_workspace): add debug flag
author | John Donoghue |
---|---|
date | Fri, 20 Mar 2015 08:44:20 -0400 |
parents | 028b2302f940 |
children | aa36fb998a4d |
comparison
equal
deleted
inserted
replaced
20004:3f3418ccd6d4 | 20005:f7846f0ea6db |
---|---|
59 octave_link::set_workspace (void) | 59 octave_link::set_workspace (void) |
60 { | 60 { |
61 if (enabled ()) | 61 if (enabled ()) |
62 instance->do_set_workspace ((symbol_table::current_scope () | 62 instance->do_set_workspace ((symbol_table::current_scope () |
63 == symbol_table::top_scope ()), | 63 == symbol_table::top_scope ()), |
64 instance->debugging, | |
64 symbol_table::workspace_info ()); | 65 symbol_table::workspace_info ()); |
65 } | 66 } |
66 | 67 |
67 // OBJ should be an object of a class that is derived from the base | 68 // OBJ should be an object of a class that is derived from the base |
68 // class octave_link, or 0 to disconnect the link. It is the | 69 // class octave_link, or 0 to disconnect the link. It is the |