mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 05:02:37 +00:00
Fix Reset Scroll ordering to reset before list updating
This commit is contained in:
1 parent
518dcad09f
commit
024b917930
10 files changed
+15
-15
No files matched your search
@@ -101,8 +101,8 @@ public class GuiQuestSelection extends SubGuiInterface implements ICustomScrollL
|
||||
if(catSearch.equals(getTextField(33).getText()))
|
||||
return;
|
||||
catSearch = getTextField(33).getText().toLowerCase();
|
||||
scrollCategories.setList(getCatSearch());
|
||||
scrollCategories.resetScroll();
|
||||
scrollCategories.setList(getCatSearch());
|
||||
}
|
||||
}
|
||||
if(getTextField(44) != null){
|
||||
@@ -110,8 +110,8 @@ public class GuiQuestSelection extends SubGuiInterface implements ICustomScrollL
|
||||
if(questSearch.equals(getTextField(44).getText()))
|
||||
return;
|
||||
questSearch = getTextField(44).getText().toLowerCase();
|
||||
scrollQuests.setList(getQuestSearch());
|
||||
scrollQuests.resetScroll();
|
||||
scrollQuests.setList(getQuestSearch());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user