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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user