mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
CardSetFilter and DeckSetFilter now includes the allowReprints option when instantiating (for edit) the DialogChooseSets so UI updates accordingly.
This commit is contained in:
@@ -50,9 +50,9 @@ public class CardSetFilter extends CardFormatFilter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void edit(final ItemManager<? super PaperCard> itemManager) {
|
public void edit(final ItemManager<? super PaperCard> itemManager) {
|
||||||
final DialogChooseSets dialog = new DialogChooseSets(this.sets, null, true);
|
final DialogChooseSets dialog = new DialogChooseSets(this.sets, null, true,
|
||||||
|
this.allowReprints);
|
||||||
final CardSetFilter itemFilter = this;
|
final CardSetFilter itemFilter = this;
|
||||||
dialog.setWantReprintsCB(allowReprints);
|
|
||||||
|
|
||||||
dialog.setOkCallback(new Runnable() {
|
dialog.setOkCallback(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -47,7 +47,8 @@ public class DeckSetFilter extends DeckFormatFilter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void edit() {
|
public void edit() {
|
||||||
final DialogChooseSets dialog = new DialogChooseSets(this.sets, null, true);
|
final DialogChooseSets dialog = new DialogChooseSets(this.sets, null, true,
|
||||||
|
this.allowReprints);
|
||||||
dialog.setOkCallback(new Runnable() {
|
dialog.setOkCallback(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|||||||
Reference in New Issue
Block a user