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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/SubpatchModule.cpp b/src/gui/SubpatchModule.cpp
index bf0ecd95..3960b4fd 100644
--- a/src/gui/SubpatchModule.cpp
+++ b/src/gui/SubpatchModule.cpp
@@ -45,7 +45,7 @@ SubpatchModule::SubpatchModule(PatchCanvas& canvas,
assert(patch);
}
-void
+bool
SubpatchModule::on_double_click(GdkEventButton* event)
{
assert(_patch);
@@ -57,6 +57,7 @@ SubpatchModule::on_double_click(GdkEventButton* event)
: app().window_factory()->patch_window(parent) );
app().window_factory()->present_patch(_patch, preferred);
+ return true;
}
void