fix some confusion when redrawing editor/mixer track/strip displays after track/bus...
authorPaul Davis <paul@linuxaudiosystems.com>
Sat, 21 Jun 2014 01:51:59 +0000 (21:51 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Sat, 21 Jun 2014 01:52:24 +0000 (21:52 -0400)
commit5d6dc388f71dbb4910832ed766af92592b000e52
tree195bf151357f35378a00197390e92383927b3343
parent237741d18722252abd4a6a20d3422315481ccffe
fix some confusion when redrawing editor/mixer track/strip displays after track/bus deletion

The code relied on the idea that the order-key resync that occurs after deletion would change the order keys and thus cause
a redisplay. But since both the editor and mixer can initiate an order-key resync, the other window's resync will actually
do nothing (the order keys will already be correct). This led to the incorrect placement of material in the tracks canvas,
because the first resync triggered a redisplay while the route still existed, and then the second resync didn't cause a
redisplay (repositioning) but the canvas elements representing the track went away.

Fixed by forcing a redisplay in both editor and mixer if a route deletion is believed to be triggering a row deletion
in their underlying data models.
gtk2_ardour/editor_routes.cc
gtk2_ardour/editor_routes.h
gtk2_ardour/mixer_ui.cc
gtk2_ardour/mixer_ui.h