Major changes
[quicknewsreader] / qml / QuickNewsReader / content / view / SourceDelegate.qml
index 8824282..913f49d 100644 (file)
@@ -78,7 +78,7 @@ Item {
             // show the configuration for this journal
             if( listSourceModel[index].hasSettings )
             {
-                window.showConfigDialog(listSourceModel[index].settingsComponent)
+                window.showConfigDialog(index)
             }
         }
 
@@ -91,15 +91,12 @@ Item {
 
                 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[index].currentPath = [index]
-
                 window.currentSourceIndex = index
-
-                window.windowViewsList.currentIndex = 1;
             }
         }
     }