diff options
Diffstat (limited to 'src/gui/PatchView.cpp')
-rw-r--r-- | src/gui/PatchView.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/PatchView.cpp b/src/gui/PatchView.cpp index 19ff35d6..6431afb4 100644 --- a/src/gui/PatchView.cpp +++ b/src/gui/PatchView.cpp @@ -118,7 +118,8 @@ SharedPtr<PatchView> PatchView::create(SharedPtr<const PatchModel> patch) { PatchView* result = NULL; - WidgetFactory::get_widget_derived("patch_view_box", result); + Glib::RefPtr<Gtk::Builder> xml = WidgetFactory::create("warehouse_win"); + xml->get_widget_derived("patch_view_box", result); assert(result); result->set_patch(patch); return SharedPtr<PatchView>(result); |