Cockatrice/cockatrice/src/interface/deck_loader
BruebachL b8e8f2c738
[PrintingSelector] Fix crash setting all printings to preferred (#7467)
getPreferredPrinting returns a null PrintingInfo when a deck card has no
database entry or printings. SetProviderIdToPreferred dereferenced
getSet() unconditionally, crashing on custom or unresolved cards.

Guard against a null preferred set and leave the card's cleared printing
data as is.

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-10-10 09:36:26 +02:00
..
card_node_function.cpp [PrintingSelector] Fix crash setting all printings to preferred (#7467) 2026-10-10 09:36:26 +02:00
card_node_function.h [DeckLoader] Extract cardNode functions to own file (#6408) 2025-12-08 00:47:24 -08:00
deck_file_format.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
deck_file_format.h Use capitalized app names (#7255) 2026-09-12 17:30:46 +02:00
deck_loader.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
deck_loader.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
loaded_deck.cpp [DeckLoader] Extract LoadedDeck struct (#6406) 2025-12-07 15:03:52 +01:00
loaded_deck.h [Refactor] Pass around LoadedDeck instead of DeckLoader (#6422) 2025-12-20 13:39:00 +01:00