diff options
author | DualMatrix <piet.goris@gmail.com> | 2018-09-13 00:49:12 +0200 |
---|---|---|
committer | DualMatrix <piet.goris@gmail.com> | 2018-09-17 15:18:03 +0200 |
commit | 0d09f80e43f9bc27a4e7f02efb4921091389f884 (patch) | |
tree | ded3dad0ea7143b6b80ddbdb1be824ebf25d347e /editor/scene_tree_dock.h | |
parent | 8704b7787624da98cece35c1b8b8e51bde709488 (diff) |
Added warning when disabling editable_instance
Added warning when disabling editable_instance to prevent data loss.
Diffstat (limited to 'editor/scene_tree_dock.h')
-rw-r--r-- | editor/scene_tree_dock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/scene_tree_dock.h b/editor/scene_tree_dock.h index 34a7c98d11..269b0b69db 100644 --- a/editor/scene_tree_dock.h +++ b/editor/scene_tree_dock.h @@ -121,6 +121,7 @@ class SceneTreeDock : public VBoxContainer { ScriptCreateDialog *script_create_dialog; AcceptDialog *accept; ConfirmationDialog *delete_dialog; + ConfirmationDialog *editable_instance_remove_dialog; ReparentDialog *reparent_dialog; EditorFileDialog *file; @@ -169,6 +170,8 @@ class SceneTreeDock : public VBoxContainer { void _delete_confirm(); + void _toggle_editable_children(); + void _node_prerenamed(Node *p_node, const String &p_new_name); void _nodes_drag_begin(); |