mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Campaigns are sorted by terrain in new game wizard
This commit is contained in:
parent
e664652cc5
commit
60ce6658ad
@ -27,6 +27,7 @@ for f in campaign_files:
|
|||||||
logging.info("Loaded campaign :" + ff)
|
logging.info("Loaded campaign :" + ff)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.info("Unable to load campaign :" + f)
|
logging.info("Unable to load campaign :" + f)
|
||||||
|
CAMPAIGNS = sorted(CAMPAIGNS, key=lambda x: x[0])
|
||||||
|
|
||||||
class QCampaignItem(QStandardItem):
|
class QCampaignItem(QStandardItem):
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user