From e10545b53f88a2a83b055e1f8b9d752ee2834206 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Sat, 18 Jun 2022 09:23:17 +0200 Subject: [PATCH] flex grid layout: copy constructor --- radio/src/thirdparty/libopenui/src/flexlayout.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/radio/src/thirdparty/libopenui/src/flexlayout.h b/radio/src/thirdparty/libopenui/src/flexlayout.h index fe5f3ed59..0c36c125d 100644 --- a/radio/src/thirdparty/libopenui/src/flexlayout.h +++ b/radio/src/thirdparty/libopenui/src/flexlayout.h @@ -41,6 +41,11 @@ class FlexGridLayout { } + FlexGridLayout(const FlexGridLayout& g) : + col_dsc(g.col_dsc), row_dsc(g.row_dsc), padding(g.padding) + { + } + void apply(Window* w) { apply(w->getLvObj()); } void apply(lv_obj_t* obj) {