diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-16 23:11:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-16 23:11:40 +0300 |
commit | cbe5ad5d45e5ce7da04e0517997f838aec32f3aa (patch) | |
tree | 66df699efa5c5d7af339912516eb5891a7e87199 | |
parent | bc92643d8db723b5049db2dbad1ce052a0ae77a9 (diff) | |
download | manaplus-cbe5ad5d45e5ce7da04e0517997f838aec32f3aa.tar.gz manaplus-cbe5ad5d45e5ce7da04e0517997f838aec32f3aa.tar.bz2 manaplus-cbe5ad5d45e5ce7da04e0517997f838aec32f3aa.tar.xz manaplus-cbe5ad5d45e5ce7da04e0517997f838aec32f3aa.zip |
Fix background flag in social window for party and guild tabs.
-rw-r--r-- | src/gui/socialwindow.cpp | 6 |
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); |