Quote:
Originally Posted by Mister L
Thank you!! Worked perfectly. And now I know what to do if I have the problem again.
|
No problem. I'm also looking at how Sigil registers the keyboard events in the Shortcut Manager widget (when setting shortcuts) to see if anything can be done to mitigate the issue. It seems to me that MainWindow is registering the correct key sequence event during normal Sigil use (hence why manually entering the key sequence works), but not when registering the entered key sequence in the Shortcut Manager.
@Kevin: if you're reading this, what do you think about Qt's own warning that the
Qt::KeyboardModifiers function of
QtKeyEvent we use in KeyboardShorcutsWidget.cpp is "untrustworthy" ?
That section of Sigil is deep, dark, unpenetratable magic to me.