Card list sorting is now handled per window (closes #71)

This commit is contained in:
Twan van Laarhoven
2020-06-14 21:39:23 +02:00
parent 14fac16819
commit a7336d66e1
13 changed files with 66 additions and 26 deletions
+3
View File
@@ -632,6 +632,9 @@ void RandomPackPanel::selectionChoices(ExportCardSelectionChoices& out) {
));
}
void RandomPackPanel::getCardLists(vector<CardListBase*>& out) {
if (isInitialized()) out.push_back(card_list);
}
BEGIN_EVENT_TABLE(RandomPackPanel, wxPanel)
EVT_CARD_SELECT(wxID_ANY, RandomPackPanel::onCardSelect)