mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-10-13 01:41:59 -05:00
include the fix for #106
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4896 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
1 parent
5bc2055f55
commit
246e3c2608
2 files changed
+9
-3
No files matched your search
@@ -6,6 +6,8 @@
|
||||
* src/gnome/glade/qif.glade: add some explanatory text about
|
||||
what the "back" button does where it's not obvious
|
||||
|
||||
* (later) actually fix #106... first patch didn't do it
|
||||
|
||||
2001-07-04 Dave Peticolas <dave@krondo.com>
|
||||
|
||||
* Makefile.am: add gnc-glossary.txt to the dist
|
||||
|
||||
@@ -259,7 +259,12 @@ get_prev_druid_page(QIFImportWindow * wind, GnomeDruidPage * page) {
|
||||
prev = g_list_last(wind->pre_comm_pages);
|
||||
break;
|
||||
case 2:
|
||||
prev = g_list_last(wind->commodity_pages);
|
||||
if(wind->new_stocks != SCM_BOOL_F) {
|
||||
prev = g_list_last(wind->commodity_pages);
|
||||
}
|
||||
else {
|
||||
prev = g_list_last(wind->pre_comm_pages);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
if (wind->show_doc_pages)
|
||||
@@ -271,7 +276,6 @@ get_prev_druid_page(QIFImportWindow * wind, GnomeDruidPage * page) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(prev)
|
||||
return (GtkWidget *)prev->data;
|
||||
else
|
||||
@@ -1392,7 +1396,7 @@ gnc_ui_qif_import_commodity_prepare_cb(GnomeDruidPage * page,
|
||||
|
||||
/* insert new pages, one for each stock */
|
||||
stocks = wind->new_stocks;
|
||||
while(!gh_null_p(stocks)) {
|
||||
while(!gh_null_p(stocks) && (stocks != SCM_BOOL_F))) {
|
||||
comm_ptr_token = gh_call2(hash_ref, wind->stock_hash, gh_car(stocks));
|
||||
commodity = gw_wcp_get_ptr(comm_ptr_token);
|
||||
|
||||
|
||||
Reference in new issue
Block a user