You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Rename readonly to editable
This commit is contained in:
@@ -51,7 +51,7 @@ void EditorNativeShaderSourceVisualizer::_inspect_shader(RID p_shader) {
|
||||
versions->add_child(vtab);
|
||||
for (int j = 0; j < nsc.versions[i].stages.size(); j++) {
|
||||
TextEdit *vtext = memnew(TextEdit);
|
||||
vtext->set_readonly(true);
|
||||
vtext->set_editable(false);
|
||||
vtext->set_name(nsc.versions[i].stages[j].name);
|
||||
vtext->set_text(nsc.versions[i].stages[j].code);
|
||||
vtext->set_v_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
|
||||
Reference in New Issue
Block a user