mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
b UI_combobox
fix missing selected field in json
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user