mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Fix crash after time-fx due to GUI / non-GUI thread problem.
git-svn-id: svn://localhost/ardour2/branches/3.0@5287 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
df9654b8cc
commit
64f9b257d9
1 changed files with 2 additions and 2 deletions
|
|
@ -313,7 +313,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;
|
||||
}
|
||||
|
||||
|
|
@ -328,7 +328,7 @@ Editor::do_timefx (TimeFXDialog& dialog)
|
|||
}
|
||||
|
||||
if (in_command) {
|
||||
commit_reversible_command ();
|
||||
session->commit_reversible_command ();
|
||||
}
|
||||
|
||||
dialog.status = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue