git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2431 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2000-06-07 10:16:50 +00:00
parent 15dd2cb185
commit 8fe8bd5520
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2000-06-07 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-utils.c (gnc_ui_install_field_strings): set the
code even if it's blank. Auto-coding doesn't work right now.
2000-06-06 Dave Peticolas <dave@krondo.com> 2000-06-06 Dave Peticolas <dave@krondo.com>
* src/SplitLedger.c (LedgerTraverse): use correct argument for * src/SplitLedger.c (LedgerTraverse): use correct argument for

View File

@ -544,10 +544,7 @@ gnc_ui_install_field_strings(Account * account,
if (safe_strcmp(old, strings->currency) != 0) if (safe_strcmp(old, strings->currency) != 0)
xaccAccountSetCurrency(account, strings->currency); xaccAccountSetCurrency(account, strings->currency);
if (safe_strcmp(strings->code, "") != 0) xaccAccountSetCode(account, strings->code);
xaccAccountSetCode(account, strings->code);
else
xaccAccountAutoCode(account, 4);
xaccAccountSetNotes(account, strings->notes); xaccAccountSetNotes(account, strings->notes);