MouseArea {
anchors.fill: delegate
+
+ onPressAndHold: {
+ // show the configuration for this journal
+ if( listSourceModel[index].hasSettings )
+ {
+ window.showConfigDialog(index)
+ }
+ }
+
onClicked: {
if( delegate.ListView.view.currentIndex !== index )
{
delegate.ListView.view.currentIndex = index
+ listSourceModel[index].currentPath = [index]
+
window.windowViewsModel.append({ component: listSourceModel[index].listViews[0].viewComponent,
- componentId: listSourceModel[index].listViews[0].viewId,
componentDepth: 1 })
- listSourceModel[window.currentSourceIndex].currentPath = [index]
-
window.currentSourceIndex = index
}
}