1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-23 17:11:13 +01:00

Bug 825 - Sync Lock behaves inconsistently when moving of clips is disabled

Sync Lock on now means clips can move.  So it 'trumps' that setting, when on.
This commit is contained in:
James Crook
2018-04-11 18:13:37 +01:00
parent b8f13f7698
commit 2d2f282c83
4 changed files with 58 additions and 13 deletions

View File

@@ -34,13 +34,29 @@
#include <wx/config.h>
#include <wx/fileconf.h>
#include <wx/convauto.h>
void InitPreferences();
void FinishPreferences();
extern AUDACITY_DLL_API wxFileConfig *gPrefs;
class AudacityPrefs;
extern AUDACITY_DLL_API AudacityPrefs *gPrefs;
extern int gMenusDirty;
class AUDACITY_DLL_API AudacityPrefs : public wxFileConfig
{
public:
AudacityPrefs(const wxString& appName = wxEmptyString,
const wxString& vendorName = wxEmptyString,
const wxString& localFilename = wxEmptyString,
const wxString& globalFilename = wxEmptyString,
long style = wxCONFIG_USE_LOCAL_FILE | wxCONFIG_USE_GLOBAL_FILE,
const wxMBConv& conv = wxConvAuto());
bool GetEditClipsCanMove();
};
// Packages a table of user-visible choices each with an internal code string,
// a preference key path,
// and a default choice