summaryrefslogtreecommitdiff
path: root/muse2/synti/deicsonze/deicsonzeplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/synti/deicsonze/deicsonzeplugin.cpp')
-rw-r--r--muse2/synti/deicsonze/deicsonzeplugin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/muse2/synti/deicsonze/deicsonzeplugin.cpp b/muse2/synti/deicsonze/deicsonzeplugin.cpp
index 43ae5d73..a9eec657 100644
--- a/muse2/synti/deicsonze/deicsonzeplugin.cpp
+++ b/muse2/synti/deicsonze/deicsonzeplugin.cpp
@@ -311,6 +311,8 @@ void DeicsOnzeGui::addPluginSlider(int index, QString text, bool isLog,
}
void DeicsOnzeGui::buildGuiReverb() {
+ if(!_deicsOnze->_pluginIReverb)
+ return;
MusECore::PluginI* plugI = _deicsOnze->_pluginIReverb;
QString name = plugI->name();
name.resize(name.size()-2);
@@ -355,6 +357,8 @@ void DeicsOnzeGui::buildGuiReverb() {
}
void DeicsOnzeGui::buildGuiChorus() {
+ if(!_deicsOnze->_pluginIChorus)
+ return;
MusECore::PluginI* plugI = _deicsOnze->_pluginIChorus;
QString name = plugI->name();
name.resize(name.size()-2);