mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 14:29:29 +02:00
IDE: make sure to always load form resources when resaving forms with i18n, bug #38640
git-svn-id: trunk@64891 -
This commit is contained in:
parent
ce7e9909e5
commit
db10027e7d
@ -4355,7 +4355,7 @@ begin
|
||||
LFMFileName:=AnUnitInfo.UnitResourceFileformat.GetUnitResourceFilename(AnUnitInfo.Filename,true);
|
||||
if FileExistsCached(LFMFileName) and (not AnUnitInfo.DisableI18NForLFM) then
|
||||
begin
|
||||
OpenStatus:=LazarusIDE.DoOpenEditorFile(AnUnitInfo.Filename,-1,-1,[ofAddToRecent]);
|
||||
OpenStatus:=LazarusIDE.DoOpenEditorFile(AnUnitInfo.Filename,-1,-1,[ofAddToRecent, ofDoLoadResource]);
|
||||
if OpenStatus=mrOk then
|
||||
begin
|
||||
AnUnitInfo.Modified:=true;
|
||||
|
Loading…
Reference in New Issue
Block a user