This commit is contained in:
ebbit1q 2020-12-09 08:08:00 +01:00 committed by GitHub
parent dbf6cd745e
commit f595a61d50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,11 +160,8 @@ CardInfoPtr OracleImporter::addCard(QString name,
properties.insert("side", side); properties.insert("side", side);
// upsideDown (flip cards) // upsideDown (flip cards)
bool upsideDown = false;
QString layout = properties.value("layout").toString(); QString layout = properties.value("layout").toString();
if (layout == "flip") { bool upsideDown = layout == "flip" && side == "back";
upsideDown = properties.value("side").toString() != "a";
}
// insert the card and its properties // insert the card and its properties
QList<CardRelation *> reverseRelatedCards; QList<CardRelation *> reverseRelatedCards;