From 067c78dbdb423610fc4b99c687531a08400e232d Mon Sep 17 00:00:00 2001 From: Timur Doumler Date: Tue, 8 Mar 2016 10:10:52 +0000 Subject: [PATCH] MPE: added missing call to MPEZoneLayout listeners if the layout is changed by its assignment operator. --- modules/juce_audio_basics/mpe/juce_MPEZoneLayout.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/juce_audio_basics/mpe/juce_MPEZoneLayout.cpp b/modules/juce_audio_basics/mpe/juce_MPEZoneLayout.cpp index f105da975b..7228a1e551 100644 --- a/modules/juce_audio_basics/mpe/juce_MPEZoneLayout.cpp +++ b/modules/juce_audio_basics/mpe/juce_MPEZoneLayout.cpp @@ -34,6 +34,7 @@ MPEZoneLayout::MPEZoneLayout (const MPEZoneLayout& other) MPEZoneLayout& MPEZoneLayout::operator= (const MPEZoneLayout& other) { zones = other.zones; + listeners.call (&MPEZoneLayout::Listener::zoneLayoutChanged, *this); return *this; }