summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Barroga <emmanuelbarroga@gmail.com>2019-09-05 06:58:36 -0700
committerGitHub <noreply@github.com>2019-09-05 06:58:36 -0700
commit2bac4e17840181db274810e1721e25a8e057aacd (patch)
tree7cbe5fae7023b212f00851600a9db22f068044b2
parent8bcf6ca95317329242e954a71047ce1183cfe5f8 (diff)
Revert "Fix Clearing Inspector for Remote Node"
-rw-r--r--editor/editor_path.cpp3
-rw-r--r--editor/script_editor_debugger.cpp2
2 files changed, 1 insertions, 4 deletions
diff --git a/editor/editor_path.cpp b/editor/editor_path.cpp
index 23d28261d1..12510e27de 100644
--- a/editor/editor_path.cpp
+++ b/editor/editor_path.cpp
@@ -78,9 +78,6 @@ void EditorPath::_about_to_show() {
}
void EditorPath::update_path() {
- set_text("");
- set_tooltip("");
- set_icon(NULL);
for (int i = 0; i < history->get_path_size(); i++) {
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp
index a4270786c1..eaecbb1c65 100644
--- a/editor/script_editor_debugger.cpp
+++ b/editor/script_editor_debugger.cpp
@@ -1391,7 +1391,7 @@ void ScriptEditorDebugger::stop() {
profiler->set_enabled(true);
inspect_scene_tree->clear();
- EditorNode::get_singleton()->edit_current();
+ inspector->edit(NULL);
EditorNode::get_singleton()->get_pause_button()->set_pressed(false);
EditorNode::get_singleton()->get_pause_button()->set_disabled(true);
EditorNode::get_singleton()->get_scene_tree_dock()->hide_remote_tree();