mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 10:02:10 +08:00
Fix file open dialog file filter, so it gets translated like its similar dialogs.
This commit is contained in:
@ -1048,7 +1048,7 @@ begin
|
|||||||
Selector := TOpenDialog.Create(Self);
|
Selector := TOpenDialog.Create(Self);
|
||||||
Selector.FileName := editStartupScript.Text;
|
Selector.FileName := editStartupScript.Text;
|
||||||
if Edit = editStartupScript then
|
if Edit = editStartupScript then
|
||||||
Selector.Filter := _('SQL-files')+' (*.sql)|*.sql|'+_('All files')+' (*.*)|*.*'
|
Selector.Filter := _('SQL files')+' (*.sql)|*.sql|'+_('All files')+' (*.*)|*.*'
|
||||||
else if Edit = editSSHPlinkExe then
|
else if Edit = editSSHPlinkExe then
|
||||||
Selector.Filter := _('Executables')+' (*.exe)|*.exe|'+_('All files')+' (*.*)|*.*'
|
Selector.Filter := _('Executables')+' (*.exe)|*.exe|'+_('All files')+' (*.*)|*.*'
|
||||||
else if Edit = editSSHPrivateKey then
|
else if Edit = editSSHPrivateKey then
|
||||||
|
Reference in New Issue
Block a user