diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-01-08 18:18:54 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-01-08 18:18:54 -0300 |
commit | fa170cbc5862f1fbe76702d5fffa26136269cbb9 (patch) | |
tree | 64f5a53b161ea715d4658df5455fa69d0a56f6ab /scene/gui/line_edit.cpp | |
parent | 1b0930c435b3aa4a3ab41b4936b9ceaa2f1da775 (diff) |
PopupMenu now emits both index_pressed and id_pressed instead of item_pressed, closes #3188
Diffstat (limited to 'scene/gui/line_edit.cpp')
-rw-r--r-- | scene/gui/line_edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp index d5214a0c1a..30c04608ef 100644 --- a/scene/gui/line_edit.cpp +++ b/scene/gui/line_edit.cpp @@ -1361,7 +1361,7 @@ LineEdit::LineEdit() { menu->add_item(TTR("Clear"),MENU_CLEAR); menu->add_separator(); menu->add_item(TTR("Undo"),MENU_UNDO,KEY_MASK_CMD|KEY_Z); - menu->connect("item_pressed",this,"menu_option"); + menu->connect("id_pressed",this,"menu_option"); expand_to_text_length=false; |