From 3922407cebf1f81d22d1956ab393575a4db9e484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Mon, 17 Apr 2017 00:28:29 +0200 Subject: [PATCH] Fix inability to remove samples from libraries --- editor/plugins/sample_library_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/sample_library_editor_plugin.cpp b/editor/plugins/sample_library_editor_plugin.cpp index a729b3609c2..d2cc43dd291 100644 --- a/editor/plugins/sample_library_editor_plugin.cpp +++ b/editor/plugins/sample_library_editor_plugin.cpp @@ -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();