mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
mark session dirty on creation/deletion of a VCA
This commit is contained in:
parent
eee83c25a9
commit
3b58010c8c
1 changed files with 5 additions and 0 deletions
|
|
@ -22,6 +22,7 @@
|
||||||
#include "pbd/replace_all.h"
|
#include "pbd/replace_all.h"
|
||||||
|
|
||||||
#include "ardour/boost_debug.h"
|
#include "ardour/boost_debug.h"
|
||||||
|
#include "ardour/session.h"
|
||||||
#include "ardour/slavable.h"
|
#include "ardour/slavable.h"
|
||||||
#include "ardour/vca.h"
|
#include "ardour/vca.h"
|
||||||
#include "ardour/vca_manager.h"
|
#include "ardour/vca_manager.h"
|
||||||
|
|
@ -93,6 +94,8 @@ VCAManager::create_vca (uint32_t howmany, std::string const & name_template)
|
||||||
|
|
||||||
VCAAdded (vcal); /* EMIT SIGNAL */
|
VCAAdded (vcal); /* EMIT SIGNAL */
|
||||||
|
|
||||||
|
_session.set_dirty ();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -108,6 +111,8 @@ VCAManager::remove_vca (boost::shared_ptr<VCA> vca)
|
||||||
/* this should cause deassignment and deletion */
|
/* this should cause deassignment and deletion */
|
||||||
|
|
||||||
vca->DropReferences ();
|
vca->DropReferences ();
|
||||||
|
|
||||||
|
_session.set_dirty ();
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::shared_ptr<VCA>
|
boost::shared_ptr<VCA>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue