Campaigns are sorted by terrain in new game wizard

This commit is contained in:
Khopa 2020-10-07 01:12:16 +02:00
parent e664652cc5
commit 60ce6658ad

View File

@ -27,6 +27,7 @@ for f in campaign_files:
logging.info("Loaded campaign :" + ff)
except Exception as e:
logging.info("Unable to load campaign :" + f)
CAMPAIGNS = sorted(CAMPAIGNS, key=lambda x: x[0])
class QCampaignItem(QStandardItem):