Skip to content

The date picker in tkcalendar 1.6.1, which uses from tkcalendar import DateEntry, closes automatically when I select a day in a date for the second time. #116

@Edwin-10

Description

@Edwin-10

When I select a day in the tkcalendar 1.6.1 date picker using from tkcalendar import DateEntry for the first time, it is selected, but on subsequent attempts, I can no longer select a different day in a different month or year, or even another day within the same month, because the date picker closes automatically.

I've seen other people's ideas that, by commenting out line 340 "self._calendar.focus_set()", the calendar no longer closes. This works, but if I don't select a day or click the DateEntry button, it doesn't close; the problem with this approach is that if I select another cell or other data, the calendar remains open.

A solution and an update to tkcalendar 1.6.1 or a newer version like 1.70 or later should appear.

Multipagos probar copy.py

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions