diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-24 04:18:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-24 04:18:25 +0300 |
commit | 07abefc34abc3731f5eb63a7616231827b11e271 (patch) | |
tree | 74872529b602ce1f06831768c1e4d49137f57a26 /src/gui/windows/npcdialog.cpp | |
parent | 4e3cd287c2761247a58efbbc748df40482580414 (diff) | |
download | manaverse-07abefc34abc3731f5eb63a7616231827b11e271.tar.gz manaverse-07abefc34abc3731f5eb63a7616231827b11e271.tar.bz2 manaverse-07abefc34abc3731f5eb63a7616231827b11e271.tar.xz manaverse-07abefc34abc3731f5eb63a7616231827b11e271.zip |
Remove default parameters from browserbox.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r-- | src/gui/windows/npcdialog.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp index 1a1a69227..158bc6dea 100644 --- a/src/gui/windows/npcdialog.cpp +++ b/src/gui/windows/npcdialog.cpp @@ -294,7 +294,8 @@ void NpcDialog::addText(const std::string &text, const bool save) mText.clear(); mNewText.append(text); - mTextBox->addRow(text); + mTextBox->addRow(text, + false); } mScrollArea->setVerticalScrollAmount(mScrollArea->getVerticalMaxScroll()); mActionState = NpcActionState::WAIT; @@ -1312,7 +1313,8 @@ void NpcDialog::createSkinControls() splitToStringVector(parts, info->text, '\n'); FOR_EACH (StringVectCIter, it2, parts) { - box->addRow(*it2); + box->addRow(*it2, + false); } } FOR_EACH (STD_VECTOR<NpcButtonInfo*>::const_iterator, |