PopupMenu now emits both index_pressed and id_pressed instead of item_pressed, closes #3188
This commit is contained in:
parent
1b0930c435
commit
fa170cbc58
43 changed files with 89 additions and 87 deletions
|
|
@ -326,7 +326,7 @@ OptionButton::OptionButton() {
|
|||
popup->hide();
|
||||
popup->set_as_toplevel(true);
|
||||
add_child(popup);
|
||||
popup->connect("item_pressed", this,"_selected");
|
||||
popup->connect("id_pressed", this,"_selected");
|
||||
|
||||
current=-1;
|
||||
set_text_align(ALIGN_LEFT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue