views/month-view: Clear marks when tabbing from a cell

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
This commit is contained in:
Hari Rana
2026-03-03 21:11:16 -03:00
committed by Georges Basile Stavracas Neto
parent d6a450ff1f
commit e607a6bd2e
+5
View File
@@ -1596,6 +1596,11 @@ gcal_month_view_focus (GtkWidget *widget,
return gcal_month_view_row_focus_adjacent_cell (GCAL_MONTH_VIEW_ROW (row), focused);
}
else if (focused && GCAL_IS_MONTH_CELL (focused))
{
gcal_view_clear_marks (GCAL_VIEW (self));
return FALSE;
}
return GTK_WIDGET_CLASS (gcal_month_view_parent_class)->focus (widget, direction);
}