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
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue