mirror of
https://github.com/edubart/otclient.git
synced 2025-12-20 15:37:11 +01:00
display window on screen center
This commit is contained in:
@@ -155,6 +155,7 @@ void UIWidget::setStyle(const std::string& styleName)
|
||||
}
|
||||
applyStyle(styleNode);
|
||||
m_style = styleNode;
|
||||
assert(getStyleName() != "");
|
||||
updateStyle();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user