You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
PopupMenu now emits both index_pressed and id_pressed instead of item_pressed, closes #3188
This commit is contained in:
@@ -110,7 +110,7 @@ RichTextEditor::RichTextEditor() {
|
||||
options->get_popup()->add_item(TTR("Parse BBCode"),PARSE_BBCODE);
|
||||
options->get_popup()->add_item(TTR("Clear"),CLEAR);
|
||||
|
||||
options->get_popup()->connect("item_pressed", this,"_menu_option");
|
||||
options->get_popup()->connect("id_pressed", this,"_menu_option");
|
||||
file_dialog = memnew( EditorFileDialog );
|
||||
add_child(file_dialog);
|
||||
file_dialog->add_filter("*.txt");
|
||||
|
||||
Reference in New Issue
Block a user