You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Rename internal Button icon to button_icon to match exposed methods
This commit is contained in:
@@ -63,7 +63,7 @@ void ShaderFileEditor::_version_selected(int p_option) {
|
||||
|
||||
for (int i = 0; i < RD::SHADER_STAGE_MAX; i++) {
|
||||
if (bytecode->get_stage_bytecode(RD::ShaderStage(i)).is_empty() && bytecode->get_stage_compile_error(RD::ShaderStage(i)) == String()) {
|
||||
stages[i]->set_icon(Ref<Texture2D>());
|
||||
stages[i]->set_button_icon(Ref<Texture2D>());
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ void ShaderFileEditor::_version_selected(int p_option) {
|
||||
} else {
|
||||
icon = get_editor_theme_icon(SNAME("ImportCheck"));
|
||||
}
|
||||
stages[i]->set_icon(icon);
|
||||
stages[i]->set_button_icon(icon);
|
||||
|
||||
if (first_found == -1) {
|
||||
first_found = i;
|
||||
|
||||
Reference in New Issue
Block a user