Assignment check
This commit is contained in:
parent
966184fd0a
commit
6aca2ebe1b
File diff suppressed because it is too large
Load Diff
@ -559,7 +559,8 @@ begin
|
|||||||
if Settings.ActiveProfile[1] <> '{' then
|
if Settings.ActiveProfile[1] <> '{' then
|
||||||
begin
|
begin
|
||||||
profile := Profiles.FindByName(Settings.ActiveProfile);
|
profile := Profiles.FindByName(Settings.ActiveProfile);
|
||||||
Settings.ActiveProfile := profile.UID;
|
if Assigned(profile) then
|
||||||
|
Settings.ActiveProfile := profile.UID;
|
||||||
end else
|
end else
|
||||||
profile := Profiles.FindByUID(Settings.ActiveProfile);
|
profile := Profiles.FindByUID(Settings.ActiveProfile);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user