chat-tab removed for local games (not disabled)
This commit is contained in:
@@ -2808,8 +2808,8 @@ void mainWindowImpl::tabSwitchAction() {
|
|||||||
void mainWindowImpl::localGameModification() {
|
void mainWindowImpl::localGameModification() {
|
||||||
|
|
||||||
tabWidget_Left->setCurrentIndex(0);
|
tabWidget_Left->setCurrentIndex(0);
|
||||||
tabWidget_Left->disableTab(1, TRUE);
|
tabWidget_Left->removeTab(1);
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
for (i=0; i<MAX_NUMBER_OF_PLAYERS; i++ ) {
|
for (i=0; i<MAX_NUMBER_OF_PLAYERS; i++ ) {
|
||||||
setLabelArray[i]->stopTimeOutAnimation();
|
setLabelArray[i]->stopTimeOutAnimation();
|
||||||
@@ -2818,7 +2818,7 @@ void mainWindowImpl::localGameModification() {
|
|||||||
|
|
||||||
void mainWindowImpl::networkGameModification() {
|
void mainWindowImpl::networkGameModification() {
|
||||||
|
|
||||||
tabWidget_Left->disableTab(1, FALSE);
|
tabWidget_Left->insertTab(1, tab_Chat, QString(tr("Chat")));
|
||||||
tabWidget_Left->setCurrentIndex(1);
|
tabWidget_Left->setCurrentIndex(1);
|
||||||
myChat->clearNewGame();
|
myChat->clearNewGame();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user