mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 797707 - CSV Transaction Export: custom dates should be insensitive by default
By default the absolute date selector needs to be made insensitive. Selecting 'Custom Start/End date' will enable sensitivity.
This commit is contained in:
parent
6a3fabc30d
commit
2f0639235a
@ -938,6 +938,7 @@ csv_export_assistant_create (CsvExportInfo *info)
|
||||
|
||||
/* Start date info */
|
||||
info->csvd.start_date = gnc_date_edit_new (gnc_time (NULL), FALSE, FALSE);
|
||||
gtk_widget_set_sensitive (info->csvd.start_date, FALSE);
|
||||
hbox = GTK_WIDGET(gtk_builder_get_object (builder, "start_date_hbox"));
|
||||
gtk_box_pack_start (GTK_BOX(hbox), info->csvd.start_date, TRUE, TRUE, 0);
|
||||
gtk_widget_show (info->csvd.start_date);
|
||||
@ -947,6 +948,7 @@ csv_export_assistant_create (CsvExportInfo *info)
|
||||
|
||||
/* End date info */
|
||||
info->csvd.end_date = gnc_date_edit_new (gnc_time (NULL), FALSE, FALSE);
|
||||
gtk_widget_set_sensitive (info->csvd.end_date, FALSE);
|
||||
hbox = GTK_WIDGET(gtk_builder_get_object (builder, "end_date_hbox"));
|
||||
gtk_box_pack_start (GTK_BOX(hbox), info->csvd.end_date, TRUE, TRUE, 0);
|
||||
gtk_widget_show (info->csvd.end_date);
|
||||
|
Loading…
Reference in New Issue
Block a user