mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
GncMultichoiceUIItem: Cast the selection index to a size_t.
To get correct match with template type.
This commit is contained in:
parent
e8f855e604
commit
a7f0476af9
@ -1204,7 +1204,7 @@ public:
|
||||
void set_option_from_ui_item(GncOption& option) noexcept override
|
||||
{
|
||||
auto widget{GTK_COMBO_BOX(get_widget())};
|
||||
option.set_value<size_t>(gtk_combo_box_get_active(widget));
|
||||
option.set_value<size_t>(static_cast<size_t>(gtk_combo_box_get_active(widget)));
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user