diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-24 00:35:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-24 00:35:44 +0300 |
commit | 43aa8e6bedff642ba584c447c03886c1f0c52aac (patch) | |
tree | 24818c9b3f5196e6c69b97b87d9a547bbbe5aa81 /src/gui/windows/helpwindow.cpp | |
parent | 98295d32030c620040e3e6bd912c6808174640e4 (diff) | |
download | manaverse-43aa8e6bedff642ba584c447c03886c1f0c52aac.tar.gz manaverse-43aa8e6bedff642ba584c447c03886c1f0c52aac.tar.bz2 manaverse-43aa8e6bedff642ba584c447c03886c1f0c52aac.tar.xz manaverse-43aa8e6bedff642ba584c447c03886c1f0c52aac.zip |
Remove default parameter from staticbrowserbox.
Diffstat (limited to 'src/gui/windows/helpwindow.cpp')
-rw-r--r-- | src/gui/windows/helpwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/helpwindow.cpp b/src/gui/windows/helpwindow.cpp index 44203d46d..2823c6da9 100644 --- a/src/gui/windows/helpwindow.cpp +++ b/src/gui/windows/helpwindow.cpp @@ -157,7 +157,7 @@ void HelpWindow::loadFile(std::string file) translator, lines); for (size_t i = 0, sz = lines.size(); i < sz; ++i) - mBrowserBox->addRow(lines[i]); + mBrowserBox->addRow(lines[i], false); } void HelpWindow::loadTags() @@ -209,7 +209,8 @@ void HelpWindow::search(const std::string &text0) { const char *const str = (*it).c_str(); mBrowserBox->addRow(strprintf(" -> @@%s|%s@@", str, - translator->getChar(str))); + translator->getChar(str)), + false); } loadFile("footer"); mScrollArea->setVerticalScrollAmount(0); |