mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-26 02:40:43 -06:00
Tax Tables combo does not set the active one
Fixed by correcting spelling of tax table qof type, should 'gncTaxTable'. Also fixed setting tax table combo to 'none' when page reset button used.
This commit is contained in:
parent
5d15647430
commit
db6a8f809b
@ -167,6 +167,9 @@ public:
|
||||
if (taxtable)
|
||||
gnc_simple_combo_set_value(GTK_COMBO_BOX(get_widget()),
|
||||
GNC_TAXTABLE(taxtable));
|
||||
else
|
||||
gnc_simple_combo_set_value(GTK_COMBO_BOX(get_widget()),
|
||||
nullptr);
|
||||
}
|
||||
void set_option_from_ui_item(GncOption& option) noexcept override
|
||||
{
|
||||
|
@ -587,7 +587,7 @@ qof_instance_from_guid(GncGUID* guid, GncOptionUIType type)
|
||||
qof_type = "gncInvoice";
|
||||
break;
|
||||
case GncOptionUIType::TAX_TABLE:
|
||||
qof_type = "gncTaxtable";
|
||||
qof_type = "gncTaxTable";
|
||||
break;
|
||||
case GncOptionUIType::ACCOUNT_LIST:
|
||||
case GncOptionUIType::ACCOUNT_SEL:
|
||||
|
Loading…
Reference in New Issue
Block a user