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

master
Kamil Chojnowski před 6 roky
rodič 2095951e07
revize 74caa132c5

@ -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

Načítá se…
Zrušit
Uložit