mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-10-01 00:50:15 -04:00
Fix # in book text being interpreted as MyGUI color code
This commit is contained in:
parent
78bd516ab4
commit
d1feb9ef02
@ -406,7 +406,7 @@ namespace MWGui
|
||||
box->setTextAlign(mTextStyle.mTextAlign);
|
||||
box->setTextColour(mTextStyle.mColour);
|
||||
box->setFontName(mTextStyle.mFont);
|
||||
box->setCaption(realText);
|
||||
box->setCaption(MyGUI::TextIterator::toTagsString(realText));
|
||||
box->setSize(box->getSize().width, box->getTextSize().height);
|
||||
mHeight += box->getTextSize().height;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user