Rename internal Button icon to button_icon to match exposed methods

This commit is contained in:
Aaron Franke 2024-10-09 15:21:47 -07:00
parent 0debc73dc6
commit 562c666e3d
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
129 changed files with 718 additions and 718 deletions

View file

@ -55,12 +55,12 @@ void EditorAutoloadSettings::_notification(int p_what) {
file_dialog->add_filter("*." + E);
}
browse_button->set_icon(get_editor_theme_icon(SNAME("Folder")));
browse_button->set_button_icon(get_editor_theme_icon(SNAME("Folder")));
} break;
case NOTIFICATION_THEME_CHANGED: {
browse_button->set_icon(get_editor_theme_icon(SNAME("Folder")));
add_autoload->set_icon(get_editor_theme_icon(SNAME("Add")));
browse_button->set_button_icon(get_editor_theme_icon(SNAME("Folder")));
add_autoload->set_button_icon(get_editor_theme_icon(SNAME("Add")));
} break;
case NOTIFICATION_VISIBILITY_CHANGED: {