Clear program changes and sysexs before redisplaying them. Fixes #3313.
authorCarl Hetherington <carl@carlh.net>
Thu, 15 Jul 2010 00:25:43 +0000 (00:25 +0000)
committerCarl Hetherington <carl@carlh.net>
Thu, 15 Jul 2010 00:25:43 +0000 (00:25 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7420 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/midi_region_view.cc

index 97bc7ca6304afde9ac87c6d5cf45a040c4ea41d1..25254e6bc2b30eb630341c27a8c40f2bc93cc06a 100644 (file)
@@ -969,6 +969,9 @@ MidiRegionView::redisplay_model()
                }
        }
 
+       _pgm_changes.clear();
+       _sys_exes.clear();
+       
        display_sysexes();
        display_program_changes();