summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_selection.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-10-20 18:20:38 +0000
committerCarl Hetherington <carl@carlh.net>2009-10-20 18:20:38 +0000
commit2898c4fa70805135a59739646fb476359e2e3fef (patch)
tree650653e7e854e3e0688c69d1ce5f29fdb5ed5540 /gtk2_ardour/editor_selection.cc
parentb488867f32b1ae46a776a3e1c3c1c8eb3b4ce419 (diff)
Make the behaviour zoom to region more intuitive (IMHO); ie always zoom to the selected region. Not quite sure what the zoomed_to_region flag was intended to achieve. Fixes mantis 2154.
git-svn-id: svn://localhost/ardour2/branches/3.0@5823 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_selection.cc')
-rw-r--r--gtk2_ardour/editor_selection.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc
index b77d1b4935..3894a96d52 100644
--- a/gtk2_ardour/editor_selection.cc
+++ b/gtk2_ardour/editor_selection.cc
@@ -893,8 +893,6 @@ Editor::region_selection_changed ()
sensitize_the_right_region_actions (!selection->regions.empty());
- zoomed_to_region = false;
-
_regions->block_change_connection (false);
editor_regions_selection_changed_connection.block(false);
}