Sorry, I've misread your previous message. If I understand correctly, then the problem is that handling Enter key prevents your inputWindow from getting CR/LF inside it. Do you return 'false' from 'eventFilter()'?
Sorry, I've misread your previous message. If I understand correctly, then the problem is that handling Enter key prevents your inputWindow from getting CR/LF inside it. Do you return 'false' from 'eventFilter()'?
Oleg Shparber
Return false if it is the enter key that is pressed? Or otherwise?
Here's quote from documentation:
In your reimplementation of this function, if you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Oleg Shparber
Oh boy... I was returning no boolean values... I somehow erased the return true part... now it works... thank's for all the help Oleg and co. Problem solved
Bookmarks