"fix" compartment tab name input field (#63)

This commit is contained in:
TotallyNotOndre authored and GitHub committed 2025-07-15 19:39:33 +02:00
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());
}