13
0

Handle time-domain undo/redo changes

The region itself has no time_domain property, changing the time-domain
is done by changing the domain of the region length. undo/redo hence
emite a Length PropertyChange signal.
This commit is contained in:
Robin Gareus 2022-11-02 21:40:55 +01:00
parent de4840fb9b
commit 19236c2a7d

View File

@ -444,6 +444,9 @@ RegionView::region_changed (const PropertyChange& what_changed)
if (what_changed.contains (ARDOUR::Properties::time_domain)) { if (what_changed.contains (ARDOUR::Properties::time_domain)) {
region_renamed (); region_renamed ();
} }
if (what_changed.contains (ARDOUR::Properties::length)) {
region_renamed ();
}
if (what_changed.contains (ARDOUR::Properties::sync_position)) { if (what_changed.contains (ARDOUR::Properties::sync_position)) {
region_sync_changed (); region_sync_changed ();
} }