Fix a mistake in itemlist multiselect signal
This commit is contained in:
parent
d1497b720e
commit
5b5191ccf0
|
@ -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