mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +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) {
|
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) {
|
||||||
@@ -125,11 +126,10 @@ public class SSubmenuQuestUtil {
|
|||||||
if (qA == null) { return; }
|
if (qA == null) { return; }
|
||||||
|
|
||||||
final IStatsAndPet[] viewsToUpdate = new IStatsAndPet[] {
|
final IStatsAndPet[] viewsToUpdate = new IStatsAndPet[] {
|
||||||
VSubmenuDuels.SINGLETON_INSTANCE,
|
VSubmenuDuels.SINGLETON_INSTANCE,
|
||||||
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user