mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
visual state patches from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@5712 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3b54a75aa9
commit
8aa1dfca05
2 changed files with 8 additions and 3 deletions
|
|
@ -6600,7 +6600,12 @@ Editor::cancel_visual_state_op (uint32_t n)
|
|||
if (!visual_state_op_connection.empty()) {
|
||||
visual_state_op_connection.disconnect();
|
||||
goto_visual_state (n);
|
||||
}
|
||||
} else {
|
||||
//we land here if called from the menu OR if end_visual_state_op has been called
|
||||
//so check if we are already in visual state n
|
||||
// XXX not yet checking it at all, but redoing does not hurt
|
||||
goto_visual_state (n);
|
||||
}
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue