diff --git a/TODO.org b/TODO.org index 095246a..f799c0b 100644 --- a/TODO.org +++ b/TODO.org @@ -5,6 +5,8 @@ * Tasks [74%] [23/31] +** TODO To finish the UX of which item is active, the Presentation needs to switch to the active slide in the preview system. +- To make this work I think I'll need to make serviceitemmodel able to signal when a particular item is active and give it's index so the list can follow suit. ** TODO Make libraries and models aware of being selected. This allows us to drag multiple to service list and delete multiple. ** TODO Make serviceItemModel aware of being selected and active diff --git a/src/qml/presenter/Presentation.qml b/src/qml/presenter/Presentation.qml index ed5a086..74a0f8f 100644 --- a/src/qml/presenter/Presentation.qml +++ b/src/qml/presenter/Presentation.qml @@ -210,11 +210,11 @@ Item { } - /* Connections { */ - /* target: serviceItemModel */ - /* onDataChanged: previewSlidesList.positionViewAtIndex(index, */ - /* ListView.Center) */ - /* } */ + Connections { + target: serviceItemModel + onDataChanged: previewSlidesList.positionViewAtIndex(index, + ListView.Center) + } } Kirigami.WheelHandler { id: wheelHandler