diff --git a/client/gui/InterfaceObjectConfigurable.cpp b/client/gui/InterfaceObjectConfigurable.cpp index 1dcda2d00..bcc430adc 100644 --- a/client/gui/InterfaceObjectConfigurable.cpp +++ b/client/gui/InterfaceObjectConfigurable.cpp @@ -487,8 +487,15 @@ class InterfaceLayoutWidget : public CIntObject { public: std::vector> ownedChildren; + InterfaceLayoutWidget(); }; +InterfaceLayoutWidget::InterfaceLayoutWidget() + :CIntObject() +{ + type |= REDRAW_PARENT; +} + std::shared_ptr InterfaceObjectConfigurable::buildLayout(const JsonNode & config) { logGlobal->debug("Building widget Layout"); diff --git a/config/widgets/settings/adventureOptionsTab.json b/config/widgets/settings/adventureOptionsTab.json index d09f843c0..fdce6d5bc 100644 --- a/config/widgets/settings/adventureOptionsTab.json +++ b/config/widgets/settings/adventureOptionsTab.json @@ -53,13 +53,13 @@ "items": [ { - "name": "heroSpeedValueLabel", + "name": "heroSpeedValueLabel" }, { - "name": "enemySpeedValueLabel", + "name": "enemySpeedValueLabel" }, { - "name": "mapScrollingValueLabel", + "name": "mapScrollingValueLabel" } ] },