mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
Fixed pet combo box not reappearing in quest mode.
This commit is contained in:
@@ -88,9 +88,10 @@ public class SSubmenuQuestUtil {
|
||||
}
|
||||
if (iSlot == 1) {
|
||||
view.getCbxPet().removeAllItems();
|
||||
|
||||
// Pet list visibility
|
||||
if (petList.size() > 0) {
|
||||
view.getCbxPet().setEnabled(true);
|
||||
view.getCbxPet().setVisible(true);
|
||||
view.getCbxPet().addItem("Don't summon a pet");
|
||||
|
||||
for (final QuestPetController pet : petList) {
|
||||
@@ -125,11 +126,10 @@ public class SSubmenuQuestUtil {
|
||||
if (qA == null) { return; }
|
||||
|
||||
final IStatsAndPet[] viewsToUpdate = new IStatsAndPet[] {
|
||||
VSubmenuDuels.SINGLETON_INSTANCE,
|
||||
VSubmenuChallenges.SINGLETON_INSTANCE
|
||||
VSubmenuDuels.SINGLETON_INSTANCE,
|
||||
VSubmenuChallenges.SINGLETON_INSTANCE
|
||||
};
|
||||
|
||||
|
||||
for (final IStatsAndPet view : viewsToUpdate) {
|
||||
// Fantasy UI display
|
||||
view.getLblNextChallengeInWins().setVisible(true);
|
||||
|
||||
Reference in New Issue
Block a user