summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-09-09 16:39:33 +0000
committerCarl Hetherington <carl@carlh.net>2009-09-09 16:39:33 +0000
commit58f5ad640672d3ac0193b36befaa8d53dddefecf (patch)
treee1157ebf92169ef93435897130cf02673094e2df /gtk2_ardour/editor_ops.cc
parent33860700148e2ea34c0f5cc259c4d551d05db635 (diff)
Clean up some confusion about offering a denormalize menu option when a region may not necessarily be normalized.
git-svn-id: svn://localhost/ardour2/branches/3.0@5649 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r--gtk2_ardour/editor_ops.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index d27727348d..d23c83eaf1 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -4687,7 +4687,7 @@ Editor::normalize_region ()
void
-Editor::denormalize_region ()
+Editor::reset_region_scale_amplitude ()
{
if (!session) {
return;
@@ -4701,7 +4701,7 @@ Editor::denormalize_region ()
return;
}
- begin_reversible_command ("denormalize");
+ begin_reversible_command ("reset gain");
for (RegionSelection::iterator r = rs.begin(); r != rs.end(); ++r) {
AudioRegionView* const arv = dynamic_cast<AudioRegionView*>(*r);