mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-14 04:19:12 +00:00
Remove unused JI_SIGNAL_COMBOBOX_CHANGE signal.
This commit is contained in:
parent
3442997007
commit
63f163439f
@ -165,7 +165,6 @@ enum {
|
||||
JI_SIGNAL_ENTRY_CHANGE,
|
||||
JI_SIGNAL_LISTBOX_CHANGE,
|
||||
JI_SIGNAL_LISTBOX_SELECT,
|
||||
JI_SIGNAL_COMBOBOX_CHANGE,
|
||||
JI_SIGNAL_COMBOBOX_SELECT,
|
||||
JI_SIGNAL_MANAGER_EXTERNAL_CLOSE,
|
||||
JI_SIGNAL_MANAGER_ADD_WINDOW,
|
||||
|
@ -379,11 +379,8 @@ static bool combobox_listbox_msg_proc(JWidget widget, Message* msg)
|
||||
if (msg->signal.num == JI_SIGNAL_LISTBOX_CHANGE) {
|
||||
int index = jlistbox_get_selected_index(widget);
|
||||
|
||||
if (IS_VALID_ITEM(combobox, index)) {
|
||||
if (IS_VALID_ITEM(combobox, index))
|
||||
combobox->setSelectedItem(index);
|
||||
|
||||
jwidget_emit_signal(combobox, JI_SIGNAL_COMBOBOX_CHANGE);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user