summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_routes.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-08-02 00:33:16 +0000
committerCarl Hetherington <carl@carlh.net>2009-08-02 00:33:16 +0000
commit168b1471dc8bd2885cf39cc66d6548eb25e0919b (patch)
treecb87ab5246c1f193e40bd1b56f49bfc0997ab87a /gtk2_ardour/editor_routes.cc
parent512785102cf3c01367c6624a3fa4d8aee0809418 (diff)
Fix sync of editor and mixer route ordering.
git-svn-id: svn://localhost/ardour2/branches/3.0@5453 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 e8d4fbaccd..4b6ca10b72 100644
--- a/gtk2_ardour/editor_routes.cc
+++ b/gtk2_ardour/editor_routes.cc
@@ -416,7 +416,7 @@ EditorRoutes::sync_order_keys (string const & src)
TreeModel::Children rows = _model->children();
TreeModel::Children::iterator ri;
- if (src != N_ ("editor") || !_session || (_session->state_of_the_state() & Session::Loading) || rows.empty()) {
+ if (src == N_ ("editor") || !_session || (_session->state_of_the_state() & Session::Loading) || rows.empty()) {
return;
}