mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 12:59:19 +02:00
ide: fix loading of lazarus.dci (reported by smace)
git-svn-id: trunk@17526 -
This commit is contained in:
parent
aafa20b123
commit
b586b94542
@ -6091,7 +6091,7 @@ Begin
|
|||||||
// reload code templates
|
// reload code templates
|
||||||
with CodeTemplateModul do begin
|
with CodeTemplateModul do begin
|
||||||
if FileExistsUTF8(EditorOpts.CodeTemplateFilename) then
|
if FileExistsUTF8(EditorOpts.CodeTemplateFilename) then
|
||||||
AutoCompleteList.LoadFromFile(EditorOpts.CodeTemplateFilename)
|
AutoCompleteList.LoadFromFile(UTF8ToSys(EditorOpts.CodeTemplateFilename))
|
||||||
else
|
else
|
||||||
if FileExistsUTF8('lazarus.dci') then
|
if FileExistsUTF8('lazarus.dci') then
|
||||||
AutoCompleteList.LoadFromFile(UTF8ToSys('lazarus.dci'));
|
AutoCompleteList.LoadFromFile(UTF8ToSys('lazarus.dci'));
|
||||||
|
Loading…
Reference in New Issue
Block a user