aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorBlazej Floch2018-01-08 00:50:51 -0500
committerBlazej Floch2018-01-08 03:12:41 -0500
commit9d3eb3d2b04647d8132807d6d5c733e3b79b7c9c (patch)
tree7f594bca523bfc31bd5248df213379855c6867d9 /editor/editor_node.cpp
parent37ca542d2bfd9aac296e82e30a76117090dea08e (diff)
downloadgodot-9d3eb3d2b04647d8132807d6d5c733e3b79b7c9c.tar.gz
godot-9d3eb3d2b04647d8132807d6d5c733e3b79b7c9c.tar.zst
godot-9d3eb3d2b04647d8132807d6d5c733e3b79b7c9c.zip
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index f48088386..2b62faf21 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -1398,7 +1398,7 @@ void EditorNode::_property_editor_forward() {
}
void EditorNode::_property_editor_back() {
- if (editor_history.previous())
+ if (editor_history.previous() || editor_history.get_path_size() == 1)
_edit_current();
}