mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Warn the user that changes to resources will be lost when editing imported or instanced resources from scenes.
This commit is contained in:
@@ -262,6 +262,9 @@ private:
|
||||
Button *property_forward;
|
||||
SceneTreeDock *scene_tree_dock;
|
||||
PropertyEditor *property_editor;
|
||||
Button *property_editable_warning;
|
||||
AcceptDialog *property_editable_warning_dialog;
|
||||
void _property_editable_warning_pressed();
|
||||
NodeDock *node_dock;
|
||||
ImportDock *import_dock;
|
||||
VBoxContainer *prop_editor_vb;
|
||||
@@ -606,6 +609,7 @@ private:
|
||||
|
||||
void _license_tree_selected();
|
||||
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
static void _bind_methods();
|
||||
|
||||
Reference in New Issue
Block a user