mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 12:46:32 +01:00
Fix signal emission for Locations::ripple (2/2)
This commit is contained in:
parent
0f3e3b5243
commit
bdfee53d1f
1 changed files with 2 additions and 2 deletions
|
|
@ -9621,7 +9621,7 @@ void gap_marker_callback_relax (timepos_t, timecnt_t)
|
||||||
void
|
void
|
||||||
Editor::remove_gap_marker_callback (timepos_t at, timecnt_t distance)
|
Editor::remove_gap_marker_callback (timepos_t at, timecnt_t distance)
|
||||||
{
|
{
|
||||||
_session->locations()->ripple (at, -distance, false, false);
|
_session->locations()->ripple (at, -distance, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -9841,6 +9841,6 @@ Editor::ripple_marks (std::shared_ptr<Playlist> target_playlist, timepos_t at, t
|
||||||
|
|
||||||
XMLNode& before (_session->locations()->get_state());
|
XMLNode& before (_session->locations()->get_state());
|
||||||
/* do not move locked markers, do notify */
|
/* do not move locked markers, do notify */
|
||||||
_session->locations()->ripple (at, distance, false, true);
|
_session->locations()->ripple (at, distance, false);
|
||||||
_session->add_command (new MementoCommand<Locations> (*_session->locations(), &before, &_session->locations()->get_state()));
|
_session->add_command (new MementoCommand<Locations> (*_session->locations(), &before, &_session->locations()->get_state()));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue