mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
convert to CRLF line endings
This commit is contained in:
+5
-5
@@ -108,11 +108,11 @@ IndexMap<FieldP, ValueP>& Set::stylingDataFor(const CardP& card) {
|
||||
}
|
||||
|
||||
void Set::referenceActionStackFiles() {
|
||||
referenceActionStackFiles(true);
|
||||
referenceActionStackFiles(true);
|
||||
referenceActionStackFiles(false);
|
||||
}
|
||||
void Set::referenceActionStackFiles(bool undo) {
|
||||
for (auto&& action : undo ? actions.undo_actions : actions.redo_actions) {
|
||||
void Set::referenceActionStackFiles(bool undo) {
|
||||
for (auto&& action : undo ? actions.undo_actions : actions.redo_actions) {
|
||||
try {
|
||||
SimpleValueAction<ImageValue, false>& v = dynamic_cast<SimpleValueAction<ImageValue, false>&>(*action);
|
||||
if (ImageValue* v2 = dynamic_cast<ImageValue*>(v.valueP.get())) {
|
||||
@@ -125,9 +125,9 @@ void Set::referenceActionStackFiles(bool undo) {
|
||||
referenceFile(v.new_value.toStringForWriting());
|
||||
referenceFile(v2->filename.toStringForWriting());
|
||||
}
|
||||
} catch (...) {} }
|
||||
} catch (...) {} }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
String Set::identification() const {
|
||||
// an identifying field
|
||||
|
||||
Reference in New Issue
Block a user