1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 09:20:16 +01:00

Bug2567: Macros using cut and paste should work on multiple files

This commit is contained in:
Paul Licameli
2020-12-01 23:03:23 -05:00
parent e343bf556b
commit 105558c7bf
3 changed files with 25 additions and 1 deletions

View File

@@ -18,6 +18,14 @@ Clipboard::Clipboard()
Clipboard::~Clipboard() = default;
void Clipboard::Swap( Clipboard &other )
{
std::swap( mTracks, other.mTracks );
std::swap( mProject, other.mProject );
std::swap( mT0, other.mT0 );
std::swap( mT1, other.mT1 );
}
Clipboard &Clipboard::Get()
{
static Clipboard instance;