[Kde-pim] Auto select new added collections

Allen Winter winter at kde.org
Sun Jun 17 14:47:59 BST 2012


On Thursday 24 May 2012 2:00:39 PM Alex Fiestas wrote:
> I'm trying to fix the following bug:
> AddressBook/Organizer:
> When a new collection is added, it isn't selected/checked by default, instead 
> the user is required to click on the checkbox in order to view its contents.
> 
> I have found a way of knowing when a new collection is added and select it, 
> problem is that I don't know if that collection was already created or if 
> instead it is new.
> 
> I tried to do my magic BEFORE ETMViewStateSaver so it will restore the right 
> detauls after I select all collections, that won't work because 
> ETMViewStateSaver will restore QItemSelectionModel::Select only and not 
> QItemSelectionModel::Deselect.
> 
> Checked the code on EntityTreeModel and I see no way of knowing when the 
> initial load (EntityTreeModelPrivate::fillModel) is done.
> 
> Any idea of how to do this?
> 
I'd really love to see this fixed.
Anyone who can help Alex with this?

-Allen
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list