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:
Rémi Verschelde 2023-02-20 11:29:05 +01:00
commit 4cd2aec2f0
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

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