From f7532b2e9c0569cb7657ae8341becff3c7253e1e Mon Sep 17 00:00:00 2001 From: trimbe <19672127+trimbe@users.noreply.github.com> Date: Wed, 20 May 2020 13:17:48 -0400 Subject: [PATCH] bank tags: clear remembered search when the active tag tab is clicked This fixes an issue where the tab would reactivate if you clicked the active tab while the withdraw-x dialog was open. This was caused by the handling for withdraw-x, which activates the tab again a tick after the withdraw-x dialog is closed. --- .../net/runelite/client/plugins/banktags/tabs/TabInterface.java | 1 + 1 file changed, 1 insertion(+) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/banktags/tabs/TabInterface.java b/runelite-client/src/main/java/net/runelite/client/plugins/banktags/tabs/TabInterface.java index 8e819250e0..329a539d93 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/banktags/tabs/TabInterface.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/banktags/tabs/TabInterface.java @@ -406,6 +406,7 @@ public class TabInterface if (tab.equals(activeTab)) { bankSearch.reset(true); + rememberedSearch = ""; clientThread.invokeLater(() -> client.runScript(ScriptID.MESSAGE_LAYER_CLOSE, 0, 0)); }