mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix use of "=" in if statement where "==" was intended
This fixes the default currency and description in the new account dialog. Patch by Alan Jenkins. Signed-off-by: Christian Stimming <stimming@tuhh.de> BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17879 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
59f5711250
commit
5754cb3ae7
@ -1456,7 +1456,7 @@ gnc_ui_new_account_window_internal (QofBook *book,
|
||||
|
||||
if (default_commodity != NULL) {
|
||||
commodity = default_commodity;
|
||||
if ((aw->type = ACCT_TYPE_STOCK) || (aw->type = ACCT_TYPE_MUTUAL))
|
||||
if ((aw->type == ACCT_TYPE_STOCK) || (aw->type == ACCT_TYPE_MUTUAL))
|
||||
{
|
||||
gtk_entry_set_text(GTK_ENTRY(aw->name_entry),
|
||||
(gpointer) gnc_commodity_get_mnemonic(commodity));
|
||||
|
Loading…
Reference in New Issue
Block a user