b UI_combobox

fix missing selected field in json
This commit is contained in:
2024-08-19 01:58:10 +02:00
parent fea99e99d5
commit 61ba25ea98
+1
View File
@@ -57,5 +57,6 @@ void UI_combobox::from_json(const json& j)
json UI_combobox::to_json() const json UI_combobox::to_json() const
{ {
json j = UI_x_boxes::to_json(); json j = UI_x_boxes::to_json();
j["selected"] = p_options[p_selected];
return j; return j;
} }