Fixes #15416 - "The deleted nodes are hanging in the inspector."

This commit is contained in:
Blazej Floch 2018-01-08 00:50:51 -05:00
parent 37ca542d2b
commit 9d3eb3d2b0
4 changed files with 19 additions and 8 deletions

View file

@ -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();
}