summaryrefslogtreecommitdiffstats
path: root/tools/editor/plugins/tile_set_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-08 18:18:54 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-08 18:18:54 -0300
commitfa170cbc5862f1fbe76702d5fffa26136269cbb9 (patch)
tree64f5a53b161ea715d4658df5455fa69d0a56f6ab /tools/editor/plugins/tile_set_editor_plugin.cpp
parent1b0930c435b3aa4a3ab41b4936b9ceaa2f1da775 (diff)
downloadredot-engine-fa170cbc5862f1fbe76702d5fffa26136269cbb9.tar.gz
PopupMenu now emits both index_pressed and id_pressed instead of item_pressed, closes #3188
Diffstat (limited to 'tools/editor/plugins/tile_set_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/tile_set_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/tile_set_editor_plugin.cpp b/tools/editor/plugins/tile_set_editor_plugin.cpp
index aae2f5c9bc..34002ee863 100644
--- a/tools/editor/plugins/tile_set_editor_plugin.cpp
+++ b/tools/editor/plugins/tile_set_editor_plugin.cpp
@@ -240,7 +240,7 @@ TileSetEditor::TileSetEditor(EditorNode *p_editor) {
options->get_popup()->add_separator();
options->get_popup()->add_item(TTR("Create from Scene"),MENU_OPTION_CREATE_FROM_SCENE);
options->get_popup()->add_item(TTR("Merge from Scene"),MENU_OPTION_MERGE_FROM_SCENE);
- options->get_popup()->connect("item_pressed", this,"_menu_cbk");
+ options->get_popup()->connect("id_pressed", this,"_menu_cbk");
editor=p_editor;
cd = memnew(ConfirmationDialog);
add_child(cd);