Hotkey control based on LineEdit


#21

Yes, good question. But then the method GetQualName (https://gist.github.com/stievie/878a4f04d2499dc4f1d12dbb7552b2af#file-hotkeyedit-h-L39) wouldn’t work anymore. I know it could be changed to work with it, but this control was a quick solution for a problem I had. I agree there is a lot room for improvements :blush:.


#22

Actually, your GetQualName will still work!
It performs a bunch of AND tests on active bits, and collates a result, it will still work perfectly with a binary enum.
You did not test the combined bitflag enumerations in this method, but had you, it would STILL work (with some positive results appearing more than once) :slight_smile:

Keep up the good work!