diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-18 21:04:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-18 21:04:56 +0300 |
commit | 1dbf1cf1d87a38a327673b69c184ad662bd12cc4 (patch) | |
tree | 44ac0a1fa7a0202c8f67088ac07970e27be483a4 /src/being | |
parent | 1e91bca70f5f9d6eba3e553827c1e295d483c4a5 (diff) | |
download | mv-1dbf1cf1d87a38a327673b69c184ad662bd12cc4.tar.gz mv-1dbf1cf1d87a38a327673b69c184ad662bd12cc4.tar.bz2 mv-1dbf1cf1d87a38a327673b69c184ad662bd12cc4.tar.xz mv-1dbf1cf1d87a38a327673b69c184ad662bd12cc4.zip |
Add option gmTabMinimalLevel to paths.xml for show gm chat tab.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/localplayer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index e85301754..52201e7fb 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -404,8 +404,7 @@ void LocalPlayer::setGMLevel(const int level) if (chatWindow) { chatWindow->loadGMCommands(); - if (!gmChatTab && config.getBoolValue("enableGmTab")) - chatWindow->addSpecialChannelTab(GM_CHANNEL, false); + chatWindow->showGMTab(); } } } |