Commit 4428a5da authored by Claudio Cambra's avatar Claudio Cambra
Browse files

Fix bad references to incidenceInfoDrawer in views



Signed-off-by: Claudio Cambra's avatarClaudio Cambra <claudio.cambra@gmail.com>
parent 93f31373
Pipeline #243604 passed with stage
in 2 minutes and 19 seconds
......@@ -145,7 +145,7 @@ Item {
anchors.fill: parent
addDate: gridItem.date
onAddNewIncidence: KalendarUiUtils.setUpAdd(type, addDate)
onDeselect: KalendarUiUtils.appMain.incidenceInfoDrawer.close()
onDeselect: KalendarUiUtils.appMain.incidenceInfoViewer.close()
DropArea {
id: incidenceDropArea
......@@ -296,7 +296,7 @@ Item {
}
onAddNewIncidence: useGridSquareDate(type, applicationWindow().contentItem, this.mapToGlobal(clickX, clickY))
onDeselect: KalendarUiUtils.appMain.incidenceInfoDrawer.close()
onDeselect: KalendarUiUtils.appMain.incidenceInfoViewer.close()
}
model: incidences
......
......@@ -512,7 +512,7 @@ Kirigami.Page {
addDate: parent.date
onAddNewIncidence: root.addIncidence(type, addDate, false)
onDeselect: KalendarUiUtils.appMain.incidenceInfoDrawer.close()
onDeselect: KalendarUiUtils.appMain.incidenceInfoViewer.close()
DropArea {
id: multiDayViewIncidenceDropArea
......
......@@ -249,7 +249,7 @@ Kirigami.Page {
addDate: periodStartDate
onAddNewIncidence: addIncidence(type, addDate)
onDeselect: KalendarUiUtils.appMain.incidenceInfoDrawer.close()
onDeselect: KalendarUiUtils.appMain.incidenceInfoViewer.close()
Rectangle {
id: backgroundRectangle
......
......@@ -93,7 +93,7 @@ TreeListView {
anchors.fill: parent
enabled: !Kirigami.Settings.isMobile
parent: background
onClicked: KalendarUiUtils.appMain.incidenceInfoDrawer.close()
onClicked: KalendarUiUtils.appMain.incidenceInfoViewer.close()
propagateComposedEvents: true
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment