Signed-off-by: Michele Ballabio <[email protected]>
---
 muse2/muse/widgets/mtrackinfo.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/muse2/muse/widgets/mtrackinfo.cpp
b/muse2/muse/widgets/mtrackinfo.cpp
index 63c3c71..17ecfe1 100644
--- a/muse2/muse/widgets/mtrackinfo.cpp
+++ b/muse2/muse/widgets/mtrackinfo.cpp
@@ -1117,7 +1117,7 @@ void MidiTrackInfo::patchPopup()
          {
             MusECore::SynthI *si = static_cast<MusECore::SynthI *>(instr);
             MusECore::Synth *s = si->synth();
-
+#ifdef LV2_SUPPORT
             //only for lv2 synths call applyPreset function.
             if(s && s->synthType() == MusECore::Synth::LV2_SYNTH)
             {
@@ -1134,7 +1134,7 @@ void MidiTrackInfo::patchPopup()
                   }
                }
             }
-
+#endif
          }
       }

-- 
2.3.5


------------------------------------------------------------------------------
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer

Reply via email to