Fix a mistake in itemlist multiselect signal

This commit is contained in:
groud 2018-08-24 23:05:17 +02:00
parent d1497b720e
commit 5b5191ccf0
1 changed files with 1 additions and 1 deletions

View File

@ -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) {