mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 743807 Wrong date value being used.
In get_filter_times, the start_date_today was being tested instead of the end_date_today, corrected. Also corrected the default option for end date to match start date.
This commit is contained in:
parent
ac63d3a1ae
commit
068fc3567d
@ -504,7 +504,7 @@ get_filter_times (CsvExportInfo *info)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(info->csvd.start_date_today)))
|
||||
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(info->csvd.end_date_today)))
|
||||
info->csvd.end_time = gnc_time64_get_today_end();
|
||||
else
|
||||
info->csvd.end_time = gnc_time (NULL);
|
||||
|
@ -639,6 +639,7 @@ Select the type of Export required and the separator that will be used.
|
||||
<property name="use_action_appearance">False</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
<property name="group">end_date_latest</property>
|
||||
<signal name="clicked" handler="csv_export_end_date_cb" swapped="no"/>
|
||||
</object>
|
||||
<packing>
|
||||
@ -659,7 +660,7 @@ Select the type of Export required and the separator that will be used.
|
||||
<property name="use_action_appearance">False</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
<property name="group">end_date_choose</property>
|
||||
<property name="group">end_date_latest</property>
|
||||
<signal name="clicked" handler="csv_export_end_date_cb" swapped="no"/>
|
||||
</object>
|
||||
<packing>
|
||||
@ -681,7 +682,6 @@ Select the type of Export required and the separator that will be used.
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
<property name="group">end_date_choose</property>
|
||||
<signal name="clicked" handler="csv_export_end_date_cb" swapped="no"/>
|
||||
</object>
|
||||
<packing>
|
||||
|
Loading…
Reference in New Issue
Block a user