diff --git a/src/QtLocationPlugin/QMLControl/OfflineMap.qml b/src/QtLocationPlugin/QMLControl/OfflineMap.qml index e7c8c87a098dc4de217b8998c239ac7bd7f82f13..05b80eef1b82c5f927b3d1be436373203e1fb543 100644 --- a/src/QtLocationPlugin/QMLControl/OfflineMap.qml +++ b/src/QtLocationPlugin/QMLControl/OfflineMap.qml @@ -1005,7 +1005,6 @@ QGCView { text: qsTr("Export") width: _buttonSize visible: QGroundControl.corePlugin.options.showOfflineMapExport - enabled: QGroundControl.mapEngineManager.tileSets.count > 1 onClicked: showExport() } QGCButton { @@ -1041,8 +1040,13 @@ QGCView { delegate: QGCCheckBox { text: object.name checked: object.selected - onClicked: { - object.selected = checked + onClicked: object.selected = checked + Connections { + // This connection should theoretically not be needed since the `checked: object.selected` binding should work. + // But for some reason when the user clicks the check box taht binding breaks. Which in turns causes + // Select All/None to update the internal state but check box visible state is out of sync + target: object + onSelectedChanged: checked = object.selected } } }