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.
This commit is contained in:
trimbe
2020-05-20 13:17:48 -04:00
committed by Tomas Slusny
parent ab6b8c70ae
commit f7532b2e9c

View File

@@ -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));
}