mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02: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