mirror of
https://github.com/sebastiandine/Card-Collection-Manager-3.git
synced 2026-08-29 01:08:49 +00:00
patch: Patch/ygo 25th set 2 (#14)
This commit is contained in:
@@ -352,11 +352,14 @@ private:
|
||||
failed.reserve(static_cast<std::size_t>(paths.size()));
|
||||
|
||||
for (const auto& path : paths) {
|
||||
const std::string setNameForImage = (game_ == Game::YuGiOh && !card_.set.id.empty())
|
||||
? card_.set.id
|
||||
: card_.set.name;
|
||||
auto added = imageService_.addImage(game_,
|
||||
std::filesystem::path(path.ToStdString()),
|
||||
mode_ == EditMode::Create,
|
||||
card_.id,
|
||||
card_.set.name,
|
||||
setNameForImage,
|
||||
card_.name,
|
||||
card_.images);
|
||||
if (!added) {
|
||||
|
||||
Reference in New Issue
Block a user