mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 20:00:16 +08:00
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:
@ -1278,8 +1278,13 @@ begin
|
|||||||
JumpTask.CustomCategory := _('Recent sessions');
|
JumpTask.CustomCategory := _('Recent sessions');
|
||||||
FJumpList.JumpItems.Add(JumpTask);
|
FJumpList.JumpItems.Add(JumpTask);
|
||||||
end;
|
end;
|
||||||
FJumpList.Apply;
|
|
||||||
SortedSessions.Free;
|
SortedSessions.Free;
|
||||||
|
try
|
||||||
|
FJumpList.Apply;
|
||||||
|
except
|
||||||
|
on E:Exception do
|
||||||
|
LogSQL(E.Message, lcError);
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user