summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2010-09-12 20:49:11 +0300
committerAndrei Karas <akaras@inbox.ru>2010-09-29 23:30:18 +0300
commit9da7effa3dd8bbacbc58d2be47a17d631e261c81 (patch)
treef575acecb2972a1599ca525c7285429e24032b0e /src/gui/widgets/chattab.cpp
parent0385c87b9ba9ae212004c7f46132ec4cc895dc05 (diff)
downloadmana-9da7effa3dd8bbacbc58d2be47a17d631e261c81.tar.gz
mana-9da7effa3dd8bbacbc58d2be47a17d631e261c81.tar.bz2
mana-9da7effa3dd8bbacbc58d2be47a17d631e261c81.tar.xz
mana-9da7effa3dd8bbacbc58d2be47a17d631e261c81.zip
Improve chat speed.
Parse chat lines in BrowserBox once after changes. Reviewed-by: Thorbjorn
Diffstat (limited to 'src/gui/widgets/chattab.cpp')
-rw-r--r--src/gui/widgets/chattab.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index 8bf57508..bbb2b8bb 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -53,6 +53,7 @@ ChatTab::ChatTab(const std::string &name) : Tab()
mTextOutput->setOpaque(false);
mTextOutput->setMaxRow((int) config.getValue("ChatLogLength", 0));
mTextOutput->setLinkHandler(chatWindow->mItemLinkHandler);
+ mTextOutput->setAlwaysUpdate(false);
mScrollArea = new ScrollArea(mTextOutput);
mScrollArea->setScrollPolicy(gcn::ScrollArea::SHOW_NEVER,