summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/NewSubpatchWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/ingenuity/NewSubpatchWindow.cpp')
-rw-r--r--src/progs/ingenuity/NewSubpatchWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/progs/ingenuity/NewSubpatchWindow.cpp b/src/progs/ingenuity/NewSubpatchWindow.cpp
index 44da3a4e..a74dc2b0 100644
--- a/src/progs/ingenuity/NewSubpatchWindow.cpp
+++ b/src/progs/ingenuity/NewSubpatchWindow.cpp
@@ -89,6 +89,7 @@ NewSubpatchWindow::ok_clicked()
const size_t poly = m_poly_spinbutton->get_value_as_int();
App::instance().engine()->create_patch_with_data(path, poly, m_initial_data);
+ App::instance().engine()->enable_patch(path);
hide();
}