Merge pull request #908 from diath/fix_market_focus

Fix game interface not gaining focus after exitting the market
master
Eduardo Bart 7 years ago committed by GitHub
commit ac21f6772d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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