summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_routes.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-03-09 17:15:25 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-03-09 17:15:25 +0000
commitc52c2b7368cf40eda6fcbe5840de6390e58ac382 (patch)
tree6e6bf9df8fc4edad7b18c50ca7aa2f16efdc93da /gtk2_ardour/editor_routes.cc
parent3e3d831251ec026eec1887697f6873650536848e (diff)
forward-port some fixes from a2
git-svn-id: svn://localhost/ardour2/branches/3.0@11630 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_routes.cc')
-rw-r--r--gtk2_ardour/editor_routes.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc
index 17a5c5b440..d98ee0a8d2 100644
--- a/gtk2_ardour/editor_routes.cc
+++ b/gtk2_ardour/editor_routes.cc
@@ -488,7 +488,7 @@ EditorRoutes::show_menu ()
void
EditorRoutes::redisplay ()
{
- if (_no_redisplay || !_session) {
+ if (_no_redisplay || !_session || _session->deletion_in_progress()) {
return;
}