calLite: Disable leaving the current month by clicking on "Today" when coNoMonthChange is in Options.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8757 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz 2023-03-01 14:24:49 +00:00
parent e6ed93f43c
commit 5b9794109f

View File

@ -1344,6 +1344,8 @@ end;
procedure TCalDrawer.GotoToday;
begin
if (coNoMonthChange in FOwner.FOptions) then
exit;
FOwner.Date:= Date();
end;