aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/script_editor_debugger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/script_editor_debugger.cpp')
-rw-r--r--tools/editor/script_editor_debugger.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/tools/editor/script_editor_debugger.cpp b/tools/editor/script_editor_debugger.cpp
index 6ca949083..cd265e370 100644
--- a/tools/editor/script_editor_debugger.cpp
+++ b/tools/editor/script_editor_debugger.cpp
@@ -737,8 +737,12 @@ void ScriptEditorDebugger::stop(){
le_clear->set_disabled(false);
le_set->set_disabled(true);
- if (!always_visible)
+
+ if (hide_on_stop) {
hide();
+ emit_signal("show_debugger",false);
+ }
+
}
@@ -1157,6 +1161,12 @@ void ScriptEditorDebugger:: _error_stack_selected(int p_idx){
}
+<<<<<<< HEAD
+void ScriptEditorDebugger::set_hide_on_stop(bool p_hide) {
+
+ hide_on_stop=p_hide;
+}
+=======
void ScriptEditorDebugger::set_always_visible(bool p_visible) {
always_visible=p_visible;
@@ -1167,6 +1177,7 @@ void ScriptEditorDebugger::set_always_visible(bool p_visible) {
hide();
}
+>>>>>>> c3db5d951c1ee938a0c789c78a9bb8045ef8605b
void ScriptEditorDebugger::_bind_methods() {
@@ -1470,6 +1481,7 @@ ScriptEditorDebugger::ScriptEditorDebugger(EditorNode *p_editor){
live_debug=false;
last_path_id=false;
error_count=0;
+ hide_on_stop=true;
last_error_count=0;