Launhcer: fix enabling/disabling hangars
Part of: https://sourceforge.net/p/flightgear/codetickets/2380/
This commit is contained in:
parent
cd2d19f647
commit
cc2178f349
1 changed files with 3 additions and 1 deletions
|
@ -57,7 +57,9 @@ Item {
|
||||||
id: enableCheckbox
|
id: enableCheckbox
|
||||||
checked: model.enabled
|
checked: model.enabled
|
||||||
height: parent.height
|
height: parent.height
|
||||||
onCheckedChanged: model.enable = checked;
|
onCheckedChanged: {
|
||||||
|
model.enabled = checked;
|
||||||
|
}
|
||||||
// only allow the user to toggle enable/disable if
|
// only allow the user to toggle enable/disable if
|
||||||
// the catalog is valid
|
// the catalog is valid
|
||||||
visible: (model.status === CatalogListModel.Ok)
|
visible: (model.status === CatalogListModel.Ok)
|
||||||
|
|
Loading…
Add table
Reference in a new issue