diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/browserbox.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp index cf2a9ea88..2c8f64a02 100644 --- a/src/gui/widgets/browserbox.cpp +++ b/src/gui/widgets/browserbox.cpp @@ -145,7 +145,10 @@ void BrowserBox::addRow(const std::string &row, bool atTop) bLink.x1 = font->getWidth(tmp2) - 1; bLink.x2 = bLink.x1 + font->getWidth(bLink.caption) + 1; - mLinks.push_back(bLink); + if (atTop) + mLinks.insert(mLinks.begin(), bLink); + else + mLinks.push_back(bLink); linksCount ++; newRow += "##<" + bLink.caption; |