apply carls thread fix from 3.0 to 2.0

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5289 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Ben Loftis 2009-06-28 13:14:27 +00:00
parent 81ce045228
commit b76b0be553

View file

@ -412,7 +412,7 @@ Editor::do_timefx (TimeFXDialog& dialog)
new_region = fx->results.front();
if (!in_command) {
begin_reversible_command (dialog.pitching ? _("pitch shift") : _("time stretch"));
session->begin_reversible_command (dialog.pitching ? _("pitch shift") : _("time stretch"));
in_command = true;
}
@ -427,7 +427,7 @@ Editor::do_timefx (TimeFXDialog& dialog)
}
if (in_command) {
commit_reversible_command ();
session->commit_reversible_command ();
}
dialog.status = 0;