Fix game interface not gaining focus after exitting the market (closes #869)

This commit is contained in:
Kamil Chojnowski 2017-11-15 19:34:43 +01:00
parent 2095951e07
commit 74caa132c5
1 changed files with 1 additions and 0 deletions

View File

@ -990,6 +990,7 @@ function Market.close(notify)
if not marketWindow:isHidden() then
marketWindow:hide()
marketWindow:unlock()
modules.game_interface.getRootPanel():focus()
Market.clearSelectedItem()
Market.reset()
if notify then