1
0
Fork 0

Launhcer: fix enabling/disabling hangars

Part of:
https://sourceforge.net/p/flightgear/codetickets/2380/
This commit is contained in:
Automatic Release Builder 2020-09-30 14:39:26 +01:00 committed by James Turner
parent cd2d19f647
commit cc2178f349

View file

@ -57,7 +57,9 @@ Item {
id: enableCheckbox
checked: model.enabled
height: parent.height
onCheckedChanged: model.enable = checked;
onCheckedChanged: {
model.enabled = checked;
}
// only allow the user to toggle enable/disable if
// the catalog is valid
visible: (model.status === CatalogListModel.Ok)