Don't change the active tab if tags are being edited

This commit is contained in:
raiyni
2018-10-10 15:02:21 -05:00
parent 11ebb3a599
commit cc664360dd

View File

@@ -224,6 +224,14 @@ public class TabInterface
return;
}
if (activeTab != null && client.getVar(VarClientInt.INPUT_TYPE) == InputType.RUNELITE.getType())
{
// don't reset active tab if we are editing tags
updateBounds();
scrollTab(0);
return;
}
String str = client.getVar(VarClientStr.INPUT_TEXT);
if (Strings.isNullOrEmpty(str))