mirror of https://gitlab.com/basile.b/dexed.git
fix silent esception when storing the editor metadata file
This commit is contained in:
parent
3c67dba92a
commit
e0352e041d
|
@ -1007,7 +1007,10 @@ begin
|
||||||
|
|
||||||
t := n[1..p-1];
|
t := n[1..p-1];
|
||||||
c := n[p + 3 .. n.length];
|
c := n[p + 3 .. n.length];
|
||||||
f := fBasePath + DirectorySeparator + '.dub' + DirectorySeparator + '.editor_meta_data.ini';
|
f := fBasePath + DirectorySeparator + '.dub';
|
||||||
|
if not f.dirExists then
|
||||||
|
exit;
|
||||||
|
f := f + DirectorySeparator + '.editor_meta_data.ini';
|
||||||
with TStringList.Create do
|
with TStringList.Create do
|
||||||
try
|
try
|
||||||
values['last_dexed_buildType'] := t;
|
values['last_dexed_buildType'] := t;
|
||||||
|
|
Loading…
Reference in New Issue