Merge pull request #908 from diath/fix_market_focus

Fix game interface not gaining focus after exitting the market
This commit is contained in:
Eduardo Bart
2017-11-16 22:44:11 -02:00
committed by GitHub

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