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
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user