mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
Remove this down to ensure reset
This commit is contained in:
parent
3ad1da0a8c
commit
c471f19f87
1 changed files with 5 additions and 5 deletions
|
@ -323,11 +323,6 @@ public final class BookletUtils{
|
|||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public static void openIndexEntry(GuiBooklet booklet, IBookletEntry entry, int page, boolean resetTextField){
|
||||
if(resetTextField){
|
||||
booklet.searchField.setText("");
|
||||
updateSearchBar(booklet);
|
||||
}
|
||||
|
||||
if(booklet.currentEntrySet.getCurrentPage() != null){
|
||||
booklet.currentEntrySet.getCurrentPage().onClosed(booklet);
|
||||
}
|
||||
|
@ -370,6 +365,11 @@ public final class BookletUtils{
|
|||
}
|
||||
}
|
||||
|
||||
if(resetTextField){
|
||||
booklet.searchField.setText("");
|
||||
updateSearchBar(booklet);
|
||||
}
|
||||
|
||||
booklet.shouldSaveDataNextClose = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue