mirror of
https://github.com/edubart/otclient.git
synced 2025-11-05 21:16:24 +01:00
Fixes in options, hotkeys and viplist
This commit is contained in:
@@ -349,11 +349,13 @@ void UIManager::importStyleFromOTML(const OTMLNodePtr& styleNode)
|
||||
OTMLNodePtr oldStyle = m_styles[name];
|
||||
|
||||
// Warn about redefined styles
|
||||
/*
|
||||
if(!g_app.isRunning() && (oldStyle && !oldStyle->valueAt("__unique", false))) {
|
||||
auto it = m_styles.find(name);
|
||||
if(it != m_styles.end())
|
||||
g_logger.warning(stdext::format("style '%s' is being redefined", name));
|
||||
}
|
||||
*/
|
||||
|
||||
if(!oldStyle || !oldStyle->valueAt("__unique", false) || unique) {
|
||||
OTMLNodePtr originalStyle = getStyle(base);
|
||||
|
||||
@@ -41,7 +41,7 @@ UITextEdit::UITextEdit()
|
||||
m_maxLength = 0;
|
||||
m_editable = true;
|
||||
m_selectable = true;
|
||||
m_autoScroll = false;
|
||||
m_autoScroll = true;
|
||||
m_changeCursorImage = true;
|
||||
m_selectionReference = 0;
|
||||
m_selectionStart = 0;
|
||||
|
||||
Reference in New Issue
Block a user