Okay, I can recreate this by opening the ShowSemantics plugin every time on my machine. As as you said just clicking on the desktop and then back in fixes it. I have been unable to recreate this in Sigil itself but my guess it will happen there too.
I tried with my Qt 6.5.1 build and it always seems to show the correct button text no matter which plugin is used so the problem is in Qt 5 and not in the plugin code.
I will try to see how they fixed it in Qt 6.5.1 and see if I can backport that fix to Qt 5.15.10.
Thanks again for testing and reporting back!
|