mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Merge branch 'assorted-fixes' into 'master'
Attempting to fix "Copy to Clipboard" not copying e.g. dual partner commanders. See merge request core-developers/forge!274
This commit is contained in:
@@ -184,10 +184,6 @@ public class FDeckViewer extends FDialog {
|
||||
}
|
||||
deckList.append(s.toString()).append(": ");
|
||||
sectionCards = new TreeMap<>();
|
||||
if (s.isSingleCard()) {
|
||||
deckList.append(cp.get(0).getName()).append(nl);
|
||||
}
|
||||
else {
|
||||
deckList.append(nl);
|
||||
for (final Entry<PaperCard, Integer> ev : cp) {
|
||||
cardName = ev.getKey().toString();
|
||||
@@ -201,7 +197,6 @@ public class FDeckViewer extends FDialog {
|
||||
for (final Entry<String, Integer> ev: sectionCards.entrySet()) {
|
||||
deckList.append(ev.getValue()).append(" ").append(ev.getKey()).append(nl);
|
||||
}
|
||||
}
|
||||
deckList.append(nl);
|
||||
}
|
||||
|
||||
|
||||
@@ -93,15 +93,10 @@ public class FDeckViewer extends FScreen {
|
||||
continue;
|
||||
}
|
||||
deckList.append(s.toString()).append(": ");
|
||||
if (s.isSingleCard()) {
|
||||
deckList.append(cp.get(0).getName()).append(nl);
|
||||
}
|
||||
else {
|
||||
deckList.append(nl);
|
||||
for (final Entry<PaperCard, Integer> ev : cp) {
|
||||
deckList.append(ev.getValue()).append(" ").append(ev.getKey()).append(nl);
|
||||
}
|
||||
}
|
||||
deckList.append(nl);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user