mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-11 15:57:55 +00:00
Force save search text in the wireless terminal on any button press (#330)
This commit is contained in:
1 parent
8fe16e87bc
commit
80bcb3bdf3
1 file changed
+1
-1
@@ -149,6 +149,7 @@ public abstract class FCGuiMonitor<T extends IAEStack<T>> extends FCBaseMEGui
|
||||
|
||||
@Override
|
||||
protected void actionPerformed(final GuiButton btn) {
|
||||
memoryText = this.searchField.getText();
|
||||
if (btn == this.craftingStatusBtn || btn == this.craftingStatusImgBtn) {
|
||||
InventoryHandler.switchGui(GuiType.CRAFTING_STATUS);
|
||||
}
|
||||
@@ -182,7 +183,6 @@ public abstract class FCGuiMonitor<T extends IAEStack<T>> extends FCBaseMEGui
|
||||
}
|
||||
iBtn.set(next);
|
||||
if (next.getClass() == SearchBoxMode.class || next.getClass() == TerminalStyle.class) {
|
||||
memoryText = this.searchField.getText();
|
||||
super.scheduleGuiResize();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user