Fix calling method from signal.

This commit is contained in:
Relintai 2024-03-07 23:27:50 +01:00
parent 7dc0eda074
commit 66dcbb02b0
2 changed files with 2 additions and 2 deletions

View File

@ -2521,7 +2521,7 @@ void LayeredTileSetAtlasSourceEditor::_notification(int p_what) {
}
}
void LayeredTileSetAtlasSourceEditor::_tools_button_group_pressed() {
void LayeredTileSetAtlasSourceEditor::_tools_button_group_pressed(Object *p_button) {
_update_fix_selected_and_hovered_tiles();
_update_tile_id_label();
_update_atlas_source_inspector();

View File

@ -293,7 +293,7 @@ private:
void _undo_redo_inspector_callback(Object *p_undo_redo, Object *p_edited, const String &p_property, const Variant &p_new_value);
protected:
void _tools_button_group_pressed();
void _tools_button_group_pressed(Object *p_button);
void _notification(int p_what);
static void _bind_methods();