mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
quest deck editor: deck is copied before editing, so that changes are saved only if you confirm that action
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user