npctrade closing trade and focusing window

This commit is contained in:
Henrique Santiago
2012-04-29 20:06:23 -03:00
parent 170d4fd365
commit 37d943fc28
2 changed files with 3 additions and 6 deletions

View File

@@ -33,8 +33,7 @@ MainWindow
id: npcWindow
!text: tr('NPC Trade')
size: 550 515
@onEscape: NPCTrade.hide()
@onEscape: g_game.closeNpcTrade()
TabButton
id: buyTab
@@ -264,4 +263,4 @@ MainWindow
width: 64
anchors.right: parent.right
anchors.bottom: parent.bottom
@onClick: NPCTrade.hide()
@onClick: g_game.closeNpcTrade()