mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Merge Jean Laroche's '798395_ofxdirectconnect_crash' into maint.
This commit is contained in:
commit
43d4c4a6a3
@ -456,6 +456,11 @@ gnc_gen_trans_list_show_all (GNCImportMainMatcher *info)
|
||||
// Set initial state of Append checkbox to same as last import for this account.
|
||||
// Get the import account from the first split in first transaction.
|
||||
temp_trans_list = info->temp_trans_list;
|
||||
if (!temp_trans_list)
|
||||
{
|
||||
gnc_info_dialog (GTK_WINDOW (info->main_widget), _("While importing transactions found no new transactions."));
|
||||
return;
|
||||
}
|
||||
trans_info = temp_trans_list->data;
|
||||
first_split = gnc_import_TransInfo_get_fsplit (trans_info);
|
||||
account = xaccSplitGetAccount(first_split);
|
||||
|
Loading…
Reference in New Issue
Block a user