1
0
mirror of synced 2024-11-22 01:53:50 +00:00

Assignment check

This commit is contained in:
Mark van Renswoude 2014-07-02 21:48:36 +00:00
parent 966184fd0a
commit 6aca2ebe1b
2 changed files with 548 additions and 545 deletions

File diff suppressed because it is too large Load Diff

View File

@ -559,7 +559,8 @@ begin
if Settings.ActiveProfile[1] <> '{' then
begin
profile := Profiles.FindByName(Settings.ActiveProfile);
Settings.ActiveProfile := profile.UID;
if Assigned(profile) then
Settings.ActiveProfile := profile.UID;
end else
profile := Profiles.FindByUID(Settings.ActiveProfile);
end;