From 2f0639235a93df7109c6178b0ec218cd408512fb Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Sun, 3 May 2020 11:43:19 +0800 Subject: [PATCH] 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. --- gnucash/import-export/csv-exp/assistant-csv-export.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnucash/import-export/csv-exp/assistant-csv-export.c b/gnucash/import-export/csv-exp/assistant-csv-export.c index e9cc9bdcdc..427a20bf34 100644 --- a/gnucash/import-export/csv-exp/assistant-csv-export.c +++ b/gnucash/import-export/csv-exp/assistant-csv-export.c @@ -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);