Commit 1bd9ac05 authored by Committed by Xuetian WengBrowse files
Fix key recording by setWindow before capture starts.
It is common that during the construction of widget, it is not yet added to a window. Thus windowHandle will simply return null in this case. Always set the window to before the capture starts. BUG: 430388