Merge pull request #908 from diath/fix_market_focus
Fix game interface not gaining focus after exitting the market
This commit is contained in:
commit
ac21f6772d
|
@ -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…
Reference in New Issue