mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 15:26:49 +01:00
Fix game interface not gaining focus after exitting the market (closes #869)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user