summaryrefslogtreecommitdiffstats
path: root/src/gui/SubpatchModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/SubpatchModule.cpp')
-rw-r--r--src/gui/SubpatchModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/SubpatchModule.cpp b/src/gui/SubpatchModule.cpp
index 672a5d93..e25e7068 100644
--- a/src/gui/SubpatchModule.cpp
+++ b/src/gui/SubpatchModule.cpp
@@ -87,7 +87,7 @@ SubpatchModule::show_dialog()
void
SubpatchModule::menu_remove()
{
- App::instance().engine()->destroy(_patch->path());
+ App::instance().engine()->del(_patch->path());
}
} // namespace GUI