summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_ui.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-06-20 21:51:59 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-06-20 21:52:24 -0400
commit5d6dc388f71dbb4910832ed766af92592b000e52 (patch)
tree195bf151357f35378a00197390e92383927b3343 /gtk2_ardour/mixer_ui.h
parent237741d18722252abd4a6a20d3422315481ccffe (diff)
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.
Diffstat (limited to 'gtk2_ardour/mixer_ui.h')
-rw-r--r--gtk2_ardour/mixer_ui.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_ui.h b/gtk2_ardour/mixer_ui.h
index 693fd9dfa5..e5d78f2218 100644
--- a/gtk2_ardour/mixer_ui.h
+++ b/gtk2_ardour/mixer_ui.h
@@ -272,6 +272,7 @@ class Mixer_UI : public Gtk::Window, public PBD::ScopedConnectionList, public AR
it during a session teardown.
*/
bool _in_group_rebuild_or_clear;
+ bool _route_deletion_in_progress;
void update_title ();
MixerStrip* strip_by_x (int x);