Open GoogleCodeExporter opened 9 years ago
I think the right fix for this is to show a question dialog around line 1625 of
deckmodel.cpp. Something like this:
Change it from:
if (bMorphed) {
ExportWithXSL (sFileName, NULL);
}
to:
if (bMorphed) {
wxMessageDialog oWarningDialog (NULL,
wxT ("The cardlist has changed since last saving this deck and your deck must be resaved. This may remove cards from your deck that no longer exist in the cardlist. Do you want to save this deck before proceeding?"),
wxT ("Save deck ?"),
wxYES | wxNO | wxICON_QUESTION);
if (oWarningDialog.ShowModal () == wxID_YES) {
ExportWithXSL (sFileName, NULL);
}
}
Alternatively, come up with an special databaseID that can go on cards that are
no longer in the vtescsv.
Original comment by DavidMcK...@gmail.com
on 12 Apr 2012 at 9:26
Original issue reported on code.google.com by
DavidMcK...@gmail.com
on 10 Apr 2012 at 5:46