mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Temporary workaround for crash at startup after r18429.
Before this change, gnucash crashes on start-up with Backtrace: In unknown file: ?: 0* gnc:*book-label* <unnamed port>: In expression gnc:*book-label*: <unnamed port>: Unbound variable: gnc:*book-label* git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18430 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
b578c56b27
commit
812c02be0b
@ -462,8 +462,8 @@ gboolean qof_book_use_trading_accounts (const QofBook *book)
|
||||
if (options_name == NULL)
|
||||
{
|
||||
options_name = get_scm_string ("(car gnc:*kvp-option-path*)");
|
||||
acct_section = get_scm_string ("gnc:*book-label*");
|
||||
trading_opt = get_scm_string ("gnc:*trading-accounts*");
|
||||
//acct_section = get_scm_string ("gnc:*book-label*");
|
||||
//trading_opt = get_scm_string ("gnc:*trading-accounts*");
|
||||
if (options_name == NULL || acct_section == NULL || trading_opt == NULL)
|
||||
{
|
||||
PWARN ("Unable to find trading account preference");
|
||||
|
Loading…
Reference in New Issue
Block a user