You've already forked lazarus-ccr
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:
@ -1344,6 +1344,8 @@ end;
|
|||||||
|
|
||||||
procedure TCalDrawer.GotoToday;
|
procedure TCalDrawer.GotoToday;
|
||||||
begin
|
begin
|
||||||
|
if (coNoMonthChange in FOwner.FOptions) then
|
||||||
|
exit;
|
||||||
FOwner.Date:= Date();
|
FOwner.Date:= Date();
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user