mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-12 01:23:38 +02:00
Dependencies does not need ProjectWindow
This commit is contained in:
@@ -47,13 +47,14 @@ AliasedFile s.
|
|||||||
#include <wx/choice.h>
|
#include <wx/choice.h>
|
||||||
#include <wx/clipbrd.h>
|
#include <wx/clipbrd.h>
|
||||||
#include <wx/dataobj.h>
|
#include <wx/dataobj.h>
|
||||||
|
#include <wx/frame.h>
|
||||||
#include <wx/stattext.h>
|
#include <wx/stattext.h>
|
||||||
|
|
||||||
#include "blockfile/SimpleBlockFile.h"
|
#include "blockfile/SimpleBlockFile.h"
|
||||||
#include "DirManager.h"
|
#include "DirManager.h"
|
||||||
#include "Prefs.h"
|
#include "Prefs.h"
|
||||||
|
#include "Project.h"
|
||||||
#include "ProjectSettings.h"
|
#include "ProjectSettings.h"
|
||||||
#include "ProjectWindow.h"
|
|
||||||
#include "Sequence.h"
|
#include "Sequence.h"
|
||||||
#include "ShuttleGui.h"
|
#include "ShuttleGui.h"
|
||||||
#include "WaveTrack.h"
|
#include "WaveTrack.h"
|
||||||
@@ -600,7 +601,7 @@ void DependencyDialog::SaveFutureActionChoice()
|
|||||||
bool ShowDependencyDialogIfNeeded(AudacityProject *project,
|
bool ShowDependencyDialogIfNeeded(AudacityProject *project,
|
||||||
bool isSaving)
|
bool isSaving)
|
||||||
{
|
{
|
||||||
auto pWindow = ProjectWindow::Find( project );
|
auto pWindow = FindProjectFrame( project );
|
||||||
AliasedFileArray aliasedFiles;
|
AliasedFileArray aliasedFiles;
|
||||||
FindDependencies(project, aliasedFiles);
|
FindDependencies(project, aliasedFiles);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user