banktags: fix resetting active tab when editing tags

The input type for this changed awhile ago in a chatbox panel manager refactor
This commit is contained in:
Adam
2020-07-23 00:12:45 -04:00
parent e4c525dc1f
commit cbd2c4fd82

View File

@@ -512,7 +512,7 @@ public class TabInterface
return;
}
if (activeTab != null && client.getVar(VarClientInt.INPUT_TYPE) == InputType.RUNELITE.getType())
if (activeTab != null && client.getVar(VarClientInt.INPUT_TYPE) == InputType.RUNELITE_CHATBOX_PANEL.getType())
{
// don't reset active tab if we are editing tags
updateBounds();