Browse Source

Merge pull request #908 from diath/fix_market_focus

Fix game interface not gaining focus after exitting the market
Eduardo Bart 3 years ago
parent
commit
ac21f6772d
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      modules/game_market/market.lua

+ 1
- 0
modules/game_market/market.lua View File

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

Loading…
Cancel
Save