summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-16 23:11:40 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-16 23:11:40 +0300
commitcbe5ad5d45e5ce7da04e0517997f838aec32f3aa (patch)
tree66df699efa5c5d7af339912516eb5891a7e87199 /src/gui
parentbc92643d8db723b5049db2dbad1ce052a0ae77a9 (diff)
downloadmv-cbe5ad5d45e5ce7da04e0517997f838aec32f3aa.tar.gz
mv-cbe5ad5d45e5ce7da04e0517997f838aec32f3aa.tar.bz2
mv-cbe5ad5d45e5ce7da04e0517997f838aec32f3aa.tar.xz
mv-cbe5ad5d45e5ce7da04e0517997f838aec32f3aa.zip
Fix background flag in social window for party and guild tabs.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/socialwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index 7ca598677..a91057ddb 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -1346,9 +1346,9 @@ bool SocialWindow::addTab(Guild *const guild)
SocialTab *tab = nullptr;
if (guild->getServerGuild())
- tab = new SocialGuildTab(guild, getOptionBool("showbackground"));
+ tab = new SocialGuildTab(guild, getOptionBool("showtabbackground"));
else
- tab = new SocialGuildTab2(guild, getOptionBool("showbackground"));
+ tab = new SocialGuildTab2(guild, getOptionBool("showtabbackground"));
mGuilds[guild] = tab;
mTabs->addTab(tab, tab->mScroll);
@@ -1379,7 +1379,7 @@ bool SocialWindow::addTab(Party *const party)
return false;
SocialPartyTab *const tab = new SocialPartyTab(party,
- getOptionBool("showbackground"));
+ getOptionBool("showtabbackground"));
mParties[party] = tab;
mTabs->addTab(tab, tab->mScroll);