mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 17:59:25 +02:00
* patch by Marģers: fix wrong button caption in Options -> Save As dialog, resolves #34533
git-svn-id: trunk@40743 -
This commit is contained in:
parent
e7c4fccf41
commit
e74a5c89b0
@ -681,7 +681,7 @@ resourcestring menu_local_gotosource = '~G~oto source';
|
||||
msg_errorsavingconfigfile = 'Error saving config file.';
|
||||
|
||||
{Save options dialog.}
|
||||
dialog_saveoptions = 'Save Options';
|
||||
dialog_saveoptions = 'Save Options As';
|
||||
dialog_ini_filename = 'Name of INI file';
|
||||
|
||||
{Window list dialog.}
|
||||
|
@ -1588,7 +1588,7 @@ var D: PFileDialog;
|
||||
FileName: string;
|
||||
CanWrite: boolean;
|
||||
begin
|
||||
New(D, Init('*'+ExtOf(INIFileName),dialog_saveoptions,dialog_ini_filename,fdOpenButton,hidSaveIniFile));
|
||||
New(D, Init('*'+ExtOf(INIFileName),dialog_saveoptions,dialog_ini_filename,fdOkButton,hidSaveIniFile));
|
||||
D^.HelpCtx:=hcSaveAsINI;
|
||||
if Desktop^.ExecView(D)<>cmCancel then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user