Keyboard shortcuts, standalonefilterwindow

When I launch my standalone plugin I can hit Ctrl+U to reset the filter. Once I have it reset however I loose focus and if I want to reset it again I must first click on the standalonefilterwindow. I’ve tried calling setWantsKeyboardFocus(true); after resetFilter() but that doesn’t have the effect I thought it would, any ideas?

I really need to write a phpbb extension that just bans the word “loose” altogether. Even native english speakers don’t seem to have a clue about how to spell it any more…

Anyway, maybe you’re deleting and re-creating your window? If so, don’t! Or you can always grab the focus explicitly with grabKeyboardFocus().

Thanks Jules that did the trick. Apologises for the loose spelling in my earlier post!