Fixes all chat windows being closed when grouping of chat windows is disabled.

deb-src-release-2.8.5426
veteran29 11 years ago
parent 6e3e3d21ea
commit 58e871b8dd

@ -744,9 +744,23 @@ else if ((menuBar.getSelectedMenu() != null)
}
}
else
{
GuiActivator
.getUIService().getChatWindowManager().closeAllChats(this, true);
{
if(ConfigurationUtils.isMultiChatWindowEnabled())
{
GuiActivator
.getUIService().getChatWindowManager().closeAllChats(this, true);
}
else
{
ChatPanel chatPanel = getCurrentChat();
if(chatPanel == null
|| chatPanel.getChatConversationPanel() == null)
return;
GuiActivator
.getUIService().getChatWindowManager().closeChat(chatPanel);
}
}
}

Loading…
Cancel
Save