quest deck editor: deck is copied before editing, so that changes are saved only if you confirm that action

This commit is contained in:
Maxmtg
2013-02-27 04:19:18 +00:00
parent 36a4d307a2
commit a23aaee600

View File

@@ -427,7 +427,7 @@ public class DeckLister extends JPanel implements ILocalRepaint {
final CEditorQuest qEditor = new CEditorQuest(Singletons.getModel().getQuest());
FControl.SINGLETON_INSTANCE.changeState(FControl.Screens.DECK_EDITOR_QUEST);
CDeckEditorUI.SINGLETON_INSTANCE.setCurrentEditorController(qEditor);
qEditor.load(d0);
qEditor.getDeckController().load(d0.getName());
break;
case Constructed:
FControl.SINGLETON_INSTANCE.changeState(FControl.Screens.DECK_EDITOR_CONSTRUCTED);