Apply inspector read_only only when changed
This commit is contained in:
parent
9f68d06ec2
commit
860da7bc77
@ -3374,6 +3374,9 @@ void EditorInspector::set_keying(bool p_active) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void EditorInspector::set_read_only(bool p_read_only) {
|
void EditorInspector::set_read_only(bool p_read_only) {
|
||||||
|
if (p_read_only == read_only) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
read_only = p_read_only;
|
read_only = p_read_only;
|
||||||
update_tree();
|
update_tree();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user