@ -1,7 +1,7 @@
Module
name: game_console
description: Manage chat window
author: edubart, andrefaramir, baxnie
author: edubart, andrefaramir, baxnie, sn4ake
website: www.otclient.info
dependencies:
@ -73,6 +73,17 @@ Panel
margin-top: 6
@onClick: Console.removeCurrentTab()
TabButton
id: clearChannelButton
icon: /core_styles/icons/clearchannel.png
anchors.right: next.left
anchors.top: parent.top
margin-right: 5
@onClick: |
local consoleTabBar = self:getParent():getChildById('consoleTabBar')
consoleTabBar:getCurrentTab().tabPanel:getChildById('consoleBuffer'):destroyChildren()
id: channelsButton
!tooltip: tr('Open new channel') .. ' (Ctrl+O)'