From 674ce565ff5a217898d7c7ba26b5124dfe9f2007 Mon Sep 17 00:00:00 2001 From: maxim Date: Mon, 29 Mar 2021 22:26:27 +0000 Subject: [PATCH] Merged revision(s) 64891 #db10027e7d from trunk: IDE: make sure to always load form resources when resaving forms with i18n, bug #38640 ........ git-svn-id: branches/fixes_2_0@64892 - --- ide/main.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ide/main.pp b/ide/main.pp index 67c63c51eb..8fbbd0b7fb 100644 --- a/ide/main.pp +++ b/ide/main.pp @@ -4074,7 +4074,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;