1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 23:33:49 +01:00

Move project status string management to new attached object class

This commit is contained in:
Paul Licameli
2019-07-02 11:38:15 -04:00
parent efa66f5350
commit e2362bc25a
17 changed files with 131 additions and 45 deletions

View File

@@ -13,6 +13,7 @@
#include "../ProjectHistory.h"
#include "../ProjectSettings.h"
#include "../PluginManager.h"
#include "../ProjectStatus.h"
#include "../ProjectWindow.h"
#include "../SelectUtilities.h"
#include "../ShuttleGui.h"
@@ -1165,7 +1166,7 @@ void OnTrackClose(const CommandContext &context)
if (isAudioActive)
{
project.SetStatus(
ProjectStatus::Get( project ).Set(
_("Can't delete track with active audio"));
wxBell();
return;