Skip to content

Commit b9322e9

Browse files
committed
Add a check for undefined value
1 parent 593501a commit b9322e9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
55
## Unreleased
66

77
### Added
8+
- *Field map* − Add button, menu and shortcuts to expand/collapse location level.
89
- Keyboard shortcuts for the most common actions (see user guide in the wiki
910
for more details).
1011
- *Settings* − Add restart snackbar.
@@ -19,7 +20,6 @@ All notable changes to this project will be documented in this file.
1920
version. Each script will applied successively to reach the latest version.
2021

2122
### Changed
22-
- *Field map* − Add shortcut to show/hide the plantings pane.
2323
- *Field map* − Attach show/hide button to the plantings pane.
2424
- Update French translation.
2525

desktop/qml/LocationsPage.qml

+2
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,8 @@ Page {
311311
text: index + 1
312312
checkable: true
313313
checked: expandButton.expandBoolList[index]
314+
? expandButton.expandBoolList[index]
315+
: false
314316
onTriggered: expandButton.expandLevel(index)
315317
}
316318
}

0 commit comments

Comments
 (0)