fix(StatusSearchLocationMenu): typo fix

Fixed a typo in StatusSearchLocationMenu.locationModel
This commit is contained in:
Sale Djenic 2021-08-16 14:02:45 +02:00 committed by Michał Cieślak
parent b1a871cd37
commit 92757be8fd
2 changed files with 3 additions and 3 deletions

View File

@ -618,7 +618,7 @@ Rectangle {
StatusSearchLocationMenu { StatusSearchLocationMenu {
id: searchPopupMenu id: searchPopupMenu
searchPopup: searchPopup searchPopup: searchPopup
locatioModel: models.optionsModel locationModel: models.optionsModel
} }
} }

View File

@ -9,7 +9,7 @@ StatusPopupMenu {
id: root id: root
property var searchPopup property var searchPopup
property var locatioModel property var locationModel
signal subMenuClicked() signal subMenuClicked()
signal subMenuItemClicked() signal subMenuItemClicked()
@ -28,7 +28,7 @@ StatusPopupMenu {
//Dummy item to keep seperator in right position //Dummy item to keep seperator in right position
MenuItem { implicitHeight: 0.00001 } MenuItem { implicitHeight: 0.00001 }
Instantiator { Instantiator {
model: root.locatioModel model: root.locationModel
delegate: Loader { delegate: Loader {
sourceComponent: (!!model.subItems && model.subItems.count > 0) ? subMenus : subMenuItemComponent sourceComponent: (!!model.subItems && model.subItems.count > 0) ? subMenus : subMenuItemComponent
onLoaded: { onLoaded: {