mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix fall through in Account.cpp
Found with -Wimplicit-fallthrough, but older versions of GCC don't support it. So it will take some effort to add it to the build config. I think it did not result in a reproducible bug.
This commit is contained in:
parent
06ad55cae9
commit
7ef8e6d489
@ -409,6 +409,7 @@ gnc_account_get_property (GObject *object,
|
||||
break;
|
||||
case PROP_SORT_REVERSED:
|
||||
g_value_set_boolean(value, xaccAccountGetSortReversed(account));
|
||||
break;
|
||||
case PROP_LOT_NEXT_ID:
|
||||
/* Pre-set the value in case the frame is empty */
|
||||
g_value_set_int64 (value, 0);
|
||||
@ -533,6 +534,7 @@ gnc_account_set_property (GObject *object,
|
||||
break;
|
||||
case PROP_SORT_REVERSED:
|
||||
xaccAccountSetSortReversed(account, g_value_get_boolean(value));
|
||||
break;
|
||||
case PROP_LOT_NEXT_ID:
|
||||
qof_instance_set_path_kvp (QOF_INSTANCE (account), value, {"lot-mgmt", "next-id"});
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user