mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-18 03:25:07 +00:00
"fix" compartment tab name input field (#63)
This commit is contained in:
1 parent
f497114579
commit
5b551eb8ec
1 file changed
+3
-1
@@ -488,7 +488,9 @@ public class WindowCompartment extends WindowMachine implements IWindowAffectsSh
|
||||
|
||||
public void updateTabs() {
|
||||
CompartmentTab tab = getCurrentTab();
|
||||
tabName.setValue(tab.getName());
|
||||
if (!tabName.isFocused()) {
|
||||
tabName.setValue(tab.getName());
|
||||
}
|
||||
tabIcon.setItemStack(tab.getIcon());
|
||||
tabColour.setValue(tab.getColor());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user