mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #21385 from groud/fix_itemlist_signal
Fix a mistake in itemlist multi_select signal
This commit is contained in:
commit
f72f74486d
@ -502,7 +502,7 @@ void ItemList::_gui_input(const Ref<InputEvent> &p_event) {
|
||||
bool selected = !items[j].selected;
|
||||
select(j, false);
|
||||
if (selected)
|
||||
emit_signal("multi_selected", i, true);
|
||||
emit_signal("multi_selected", j, true);
|
||||
}
|
||||
|
||||
if (mb->get_button_index() == BUTTON_RIGHT) {
|
||||
|
Loading…
Reference in New Issue
Block a user