diff --git a/CalendarFXView/src/main/java/com/calendarfx/view/EntryViewBase.java b/CalendarFXView/src/main/java/com/calendarfx/view/EntryViewBase.java index 39850033..7b89ea6a 100644 --- a/CalendarFXView/src/main/java/com/calendarfx/view/EntryViewBase.java +++ b/CalendarFXView/src/main/java/com/calendarfx/view/EntryViewBase.java @@ -129,7 +129,12 @@ protected EntryViewBase(Entry entry) { focusedProperty().addListener(it -> processFocus()); - addEventHandler(MouseEvent.MOUSE_CLICKED, evt -> showDetails(evt, evt.getScreenX(), evt.getScreenY())); + addEventHandler(MouseEvent.MOUSE_CLICKED, evt -> { + if (evt.getButton().equals(PRIMARY) && evt.getClickCount() == 2) { + showDetails(evt, evt.getScreenX(), evt.getScreenY()); + } + }); + addEventHandler(ContextMenuEvent.CONTEXT_MENU_REQUESTED, evt -> { DateControl dateControl = getDateControl(); if (dateControl != null) {