parent
2cb2224e51
commit
aa82a3ce87
|
|
@ -80,11 +80,12 @@ MainViewBase {
|
|||
contentWidth: width
|
||||
bottomMargin: root.bottomMargin
|
||||
|
||||
MouseArea {
|
||||
width: flickable.contentWidth
|
||||
height: flickable.contentHeight
|
||||
onPressAndHold: root.editMode = true
|
||||
}
|
||||
// Disabling this as it causes collisions when items in the dashboard use longpresses
|
||||
// MouseArea {
|
||||
// width: flickable.contentWidth
|
||||
// height: flickable.contentHeight
|
||||
// onPressAndHold: root.editMode = true
|
||||
// }
|
||||
|
||||
GridLayout {
|
||||
id: layout
|
||||
|
|
|
|||
|
|
@ -49,6 +49,5 @@ DashboardDelegateBase {
|
|||
thing: engine.thingManager.fetchingData ? null : engine.thingManager.things.getThing(root.item.thingId)
|
||||
|
||||
onClicked: pageStack.push(Qt.resolvedUrl("../../devicepages/" + NymeaUtils.interfaceListToDevicePage(thing.thingClass.interfaces)), {thing: thing})
|
||||
onPressAndHold: root.longPressed()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue