Bug 799465 - Register Filter Today radio buttons don't work correctly

There was a typo in the callback for identifying the required widget to
get the correct value as start_date_today instead of end_date_today.
This commit is contained in:
Robert Fewell 2025-01-16 10:50:20 +00:00
parent e8049a6491
commit dd221e409c

View File

@ -2845,7 +2845,7 @@ get_filter_times (GncPluginPageRegister* page)
else else
{ {
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON ( if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (
priv->fd.start_date_today))) priv->fd.end_date_today)))
{ {
priv->fd.end_time = gnc_time64_get_today_end(); priv->fd.end_time = gnc_time64_get_today_end();
} }