diff --git a/src/eepp/ui/uicombobox.cpp b/src/eepp/ui/uicombobox.cpp index 8a3d4a571..2344dd048 100644 --- a/src/eepp/ui/uicombobox.cpp +++ b/src/eepp/ui/uicombobox.cpp @@ -87,6 +87,8 @@ void UIComboBox::loadFromXmlNode(const pugi::xml_node& node) { mDropDownList->loadFromXmlNode( node ); endAttributesTransaction(); + + updateControls(); } Uint32 UIComboBox::onMessage( const NodeMessage * Msg ) { diff --git a/src/eepp/ui/uidropdownlist.cpp b/src/eepp/ui/uidropdownlist.cpp index fb92c0e57..8fa488d26 100644 --- a/src/eepp/ui/uidropdownlist.cpp +++ b/src/eepp/ui/uidropdownlist.cpp @@ -58,9 +58,9 @@ void UIDropDownList::setTheme( UITheme * Theme ) { } void UIDropDownList::onSizeChange() { - UIWidget::onSizeChange(); - onAutoSize(); + + UIWidget::onSizeChange(); } void UIDropDownList::onThemeLoaded() {