mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-16 07:47:58 +01:00
Bug 2039 - Macros: Reload parameter not remembered.
This arose from the conversion from optional parameters to required parameters. The same problem was found in Screenshot command and in open/save command.
This commit is contained in:
@@ -98,8 +98,8 @@ kBackgroundStrings[ ScreenshotCommand::nBackgrounds ] =
|
||||
bool ScreenshotCommand::DefineParams( ShuttleParams & S ){
|
||||
S.Define( mPath, wxT("Path"), wxT(""));
|
||||
S.DefineEnum( mWhat, wxT("CaptureWhat"), kwindow,kCaptureWhatStrings, nCaptureWhats );
|
||||
S.OptionalN(bHasBackground).DefineEnum( mBack, wxT("Background"), kNone, kBackgroundStrings, nBackgrounds );
|
||||
S.OptionalN(bHasBringToTop).Define( mbBringToTop, wxT("ToTop"), true );
|
||||
S.DefineEnum( mBack, wxT("Background"), kNone, kBackgroundStrings, nBackgrounds );
|
||||
S.Define( mbBringToTop, wxT("ToTop"), true );
|
||||
return true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user