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

master
Kamil Chojnowski 6 years ago
parent 2095951e07
commit 74caa132c5

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

Loading…
Cancel
Save