1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Fix inability to remove samples from libraries

This commit is contained in:
Pedro J. Estébanez
2017-04-17 00:28:29 +02:00
parent 8df5b7151f
commit 3922407ceb

View File

@@ -130,7 +130,7 @@ void SampleLibraryEditor::_button_pressed(Object *p_item, int p_column, int p_id
} else if (p_column == 1) { // Edit
get_tree()->get_root()->get_child(0)->call("_resource_selected", sample_library->get_sample(name));
} else if (p_column == 5) { // Delete
} else if (p_column == 6) { // Delete
ti->select(0);
_delete_pressed();