Actions
Support #1329
openPrevent "Back"-Navigation
Start date:
06/19/2012
Due date:
% Done:
0%
Estimated time:
Description
Hi all!
I have an applcation which sometimes shows a dialog with readonly form-widgets.
If, at this situation, the "backspace"-key is pressed the browser navigates "back".
Maybe you can give me a hint to avoid this.
I tried "globalKeyPressed().preventDefaultAction()" but this had no affect.
Best regards,
Max Quatember
Updated by Koen Deforche over 11 years ago
- Status changed from New to Feedback
- Assignee set to Koen Deforche
Hey,
I'm not sure whether you can override this browser behaviour --- I sometimes am caught by it too on sites like GMail.
Perhaps you could work around it with a hidden (or absolutely positioned off-screen) WLineEdit that you give focus ?
Regards,
koen
Updated by Max Quatember over 11 years ago
Hi Koen!
Thanks for your quick answer, I'll work around it.
Closed ;-)
Best regards,
Max
Actions