Don't change the active tab if tags are being edited
This commit is contained in:
@@ -224,6 +224,14 @@ public class TabInterface
|
|||||||
return;
|
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);
|
String str = client.getVar(VarClientStr.INPUT_TEXT);
|
||||||
|
|
||||||
if (Strings.isNullOrEmpty(str))
|
if (Strings.isNullOrEmpty(str))
|
||||||
|
|||||||
Reference in New Issue
Block a user