Fixed pet combo box not reappearing in quest mode.

This commit is contained in:
Doublestrike
2012-05-24 12:53:10 +00:00
parent 490dfe0e9a
commit 63f0ff69c0

View File

@@ -88,9 +88,10 @@ public class SSubmenuQuestUtil {
} }
if (iSlot == 1) { if (iSlot == 1) {
view.getCbxPet().removeAllItems(); view.getCbxPet().removeAllItems();
// Pet list visibility // Pet list visibility
if (petList.size() > 0) { if (petList.size() > 0) {
view.getCbxPet().setEnabled(true); view.getCbxPet().setVisible(true);
view.getCbxPet().addItem("Don't summon a pet"); view.getCbxPet().addItem("Don't summon a pet");
for (final QuestPetController pet : petList) { for (final QuestPetController pet : petList) {
@@ -129,7 +130,6 @@ public class SSubmenuQuestUtil {
VSubmenuChallenges.SINGLETON_INSTANCE VSubmenuChallenges.SINGLETON_INSTANCE
}; };
for (final IStatsAndPet view : viewsToUpdate) { for (final IStatsAndPet view : viewsToUpdate) {
// Fantasy UI display // Fantasy UI display
view.getLblNextChallengeInWins().setVisible(true); view.getLblNextChallengeInWins().setVisible(true);