Merge pull request #73604 from KoBeWi/make_read_only_only_if_not_already_read_only_and_make_not_read_only_only_when_is_read_only
Apply inspector read_only only when changed
This commit is contained in:
commit
4cd2aec2f0
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue