I'm sure this email will mostly just expose my ignorance - but I'm OK with that :-) -- I asked on IRC but I think no one was around who knew.
I want to be able to change the content of the context menu, depending on, err, context. Seems like a reasonable thing to want to do. So I'm sure there must be an easy way to do this. But that's where I'm getting stuck. Even if I set "enabled: false" in an Action that is in the contextualActions list of my page it still is shown. And if I modify the contextualActions list (ok, I haven't quite figured out how to remove things from a list in QML, so I create a new list with the Actions that I want and assign that new list to contextualActions), the change is not reflected the next time I open the context drawer. My guess is that there is some way I need to notify the mobile components that the contextualActions list has changed, but I wasn't able to figure out how to do that. Any suggestions? /D PS: I think I'm somewhere between Anger and Bargaining in the Five Stages of Learning QML... _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel