mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Rename internal Button icon to button_icon to match exposed methods
This commit is contained in:
@@ -396,7 +396,7 @@ void EditorInspectorPluginAudioStreamInteractive::_edit(Object *p_object) {
|
||||
void EditorInspectorPluginAudioStreamInteractive::parse_end(Object *p_object) {
|
||||
if (Object::cast_to<AudioStreamInteractive>(p_object)) {
|
||||
Button *button = EditorInspector::create_inspector_action_button(TTR("Edit Transitions"));
|
||||
button->set_icon(audio_stream_interactive_transition_editor->get_editor_theme_icon(SNAME("Blend")));
|
||||
button->set_button_icon(audio_stream_interactive_transition_editor->get_editor_theme_icon(SNAME("Blend")));
|
||||
button->connect(SceneStringName(pressed), callable_mp(this, &EditorInspectorPluginAudioStreamInteractive::_edit).bind(p_object));
|
||||
add_custom_control(button);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user