From 74caa132c512d3301bcc96365c18ff2bc07b3355 Mon Sep 17 00:00:00 2001 From: Kamil Chojnowski Date: Wed, 15 Nov 2017 19:34:43 +0100 Subject: [PATCH] Fix game interface not gaining focus after exitting the market (closes #869) --- modules/game_market/market.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/game_market/market.lua b/modules/game_market/market.lua index 6dc24574..b6e3936b 100644 --- a/modules/game_market/market.lua +++ b/modules/game_market/market.lua @@ -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