mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 11:09:19 +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.';
|
msg_errorsavingconfigfile = 'Error saving config file.';
|
||||||
|
|
||||||
{Save options dialog.}
|
{Save options dialog.}
|
||||||
dialog_saveoptions = 'Save Options';
|
dialog_saveoptions = 'Save Options As';
|
||||||
dialog_ini_filename = 'Name of INI file';
|
dialog_ini_filename = 'Name of INI file';
|
||||||
|
|
||||||
{Window list dialog.}
|
{Window list dialog.}
|
||||||
|
@ -1588,7 +1588,7 @@ var D: PFileDialog;
|
|||||||
FileName: string;
|
FileName: string;
|
||||||
CanWrite: boolean;
|
CanWrite: boolean;
|
||||||
begin
|
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;
|
D^.HelpCtx:=hcSaveAsINI;
|
||||||
if Desktop^.ExecView(D)<>cmCancel then
|
if Desktop^.ExecView(D)<>cmCancel then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user