TJumpList.Apply seems to trigger "Access denied" exceptions in some cases. Log these in the log panel, but do nothing when that happens. See http://www.heidisql.com/forum.php?t=13339

This commit is contained in:
Ansgar Becker
2013-09-06 06:53:21 +00:00
parent d9634ca762
commit 1006dbda2c

View File

@ -1278,8 +1278,13 @@ begin
JumpTask.CustomCategory := _('Recent sessions');
FJumpList.JumpItems.Add(JumpTask);
end;
FJumpList.Apply;
SortedSessions.Free;
try
FJumpList.Apply;
except
on E:Exception do
LogSQL(E.Message, lcError);
end;
end;