nheko icon indicating copy to clipboard operation
nheko copied to clipboard

Fix stuck menu options on community/room list

Open syldrathecat opened this issue 3 years ago • 2 comments
trafficstars

This fixes the issue of checkbox states becoming stuck for the community and room list right-click menus, by putting the Menu instance inside of the ItemDelegate, rather than having them all share a single Menu instance.

syldrathecat avatar Jun 11 '22 04:06 syldrathecat

Note: This change conflicts with #1062 since it modifies this same menu

syldrathecat avatar Jun 11 '22 04:06 syldrathecat

I would prefer a different solution. If you use the per item menu instances, scrolling gets quite a bit slower. It could work to pass the model to the menu though as a variable to automatically get updates on property changes.

deepbluev7 avatar Jun 11 '22 07:06 deepbluev7