From ccb22e332e033e23d6dd6d4f144f429f95c1a547 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 9 Apr 2007 02:05:44 +0000 Subject: Bugfixes. git-svn-id: http://svn.drobilla.net/lad/ingen@430 a436a847-0d15-0410-975c-d299462d15a1 --- src/progs/ingenuity/ControlGroups.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/progs') diff --git a/src/progs/ingenuity/ControlGroups.cpp b/src/progs/ingenuity/ControlGroups.cpp index 9ea60c5d..e6008fae 100644 --- a/src/progs/ingenuity/ControlGroups.cpp +++ b/src/progs/ingenuity/ControlGroups.cpp @@ -103,7 +103,7 @@ SliderControlGroup::init(ControlPanel* panel, SharedPtr pm, bool sepa const SharedPtr parent = PtrCast(pm->parent()); - if (parent && parent->plugin()->type() == PluginModel::LV2) { + if (parent && parent->plugin() && parent->plugin()->type() == PluginModel::LV2) { min = slv2_port_get_minimum_value( parent->plugin()->slv2_plugin(), slv2_port_by_symbol(pm->path().name().c_str())); -- cgit v1.2.1