diff options
Diffstat (limited to 'editor/editor_inspector.cpp')
-rw-r--r-- | editor/editor_inspector.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index da4c1328cd..bc0a876c7c 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -3374,6 +3374,9 @@ void EditorInspector::set_keying(bool p_active) { } void EditorInspector::set_read_only(bool p_read_only) { + if (p_read_only == read_only) { + return; + } read_only = p_read_only; update_tree(); } |