summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-10-07 14:19:23 +0200
committerRobin Gareus <robin@gareus.org>2015-10-07 14:21:30 +0200
commit3bb492a0c0455b0576795aba6759d545f8380635 (patch)
treeb36715281058c6c23a7dabe5eb5910266d96ac89
parent44f1f0caf49ff8c4fa7e656606b141bdab0276da (diff)
fix crash for solo btn2 + primary-mod
-rw-r--r--gtk2_ardour/route_ui.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc
index b05877346f..fd65b79eea 100644
--- a/gtk2_ardour/route_ui.cc
+++ b/gtk2_ardour/route_ui.cc
@@ -617,6 +617,9 @@ RouteUI::solo_press(GdkEventButton* ev)
}
}
+ delete _solo_release;
+ _solo_release = 0;
+
} else {
/* click: solo this route */