Make crossfades which appear as the result of a set_state() call (for
example undo or redo) appear in the gui. git-svn-id: svn://localhost/ardour2/trunk@922 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
da293df0dd
commit
d89e7ff299
@ -556,7 +556,7 @@ AudioPlaylist::set_state (const XMLNode& node)
|
|||||||
_crossfades.push_back (xfade);
|
_crossfades.push_back (xfade);
|
||||||
xfade->Invalidated.connect (mem_fun (*this, &AudioPlaylist::crossfade_invalidated));
|
xfade->Invalidated.connect (mem_fun (*this, &AudioPlaylist::crossfade_invalidated));
|
||||||
xfade->StateChanged.connect (mem_fun (*this, &AudioPlaylist::crossfade_changed));
|
xfade->StateChanged.connect (mem_fun (*this, &AudioPlaylist::crossfade_changed));
|
||||||
/* no need to notify here */
|
NewCrossfade(xfade);
|
||||||
} else {
|
} else {
|
||||||
delete xfade;
|
delete xfade;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user