diff --git a/src/UI/UI_combobox.cpp b/src/UI/UI_combobox.cpp index 46ec1df..9fbf600 100644 --- a/src/UI/UI_combobox.cpp +++ b/src/UI/UI_combobox.cpp @@ -57,5 +57,6 @@ void UI_combobox::from_json(const json& j) json UI_combobox::to_json() const { json j = UI_x_boxes::to_json(); + j["selected"] = p_options[p_selected]; return j; } \ No newline at end of file