[GNC-dev] code pointer for bug 798369

Lionel Élie Mamane lionel at mamane.lu
Sat Nov 13 05:56:09 EST 2021


Hi,

I spent some time trying to look at fixing bug 798369
https://bugs.gnucash.org/show_bug.cgi?id=798369
before filing it, but I came out empty-handed.

I found in gnucash/register/ledger-core/split-register-model.c:

 - the decision to lock/unlock the cells is made by
   gnc_split_register_get_security_io_flags
   (by calling gnc_split_register_use_security_cells)

 - the decision not to show the contents is made by
   gnc_split_register_get_shares_entry and
   gnc_split_register_get_price_entry
   (again by calling gnc_split_register_use_security_cells)

 - the decision on the title of the columns is made by
   gnc_split_register_get_shares_label and
   gnc_split_register_get_price_label
   (again by calling gnc_split_register_use_security_cells)


But why these are not called in a new split, but are called when
editing an existing split, I could not find.

Anybody has a hint/idea?

Thanks in advance,

Lionel


More information about the gnucash-devel mailing list