Fix crash on clicking EngineOutput window after using menu dialog
authorH.G. Muller <h.g.muller@hccnet.nl>
Thu, 7 Jan 2010 15:19:25 +0000 (16:19 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Thu, 7 Jan 2010 15:19:25 +0000 (16:19 +0100)
commit17049411c26637cd99e4aaf43ee2f11ef468e00e
treef1f71877095cbd8d4ccc45240d16f9ef3dbff3eb
parentadbb470a94d7b33d67f3edde6d75032089eb8f80
Fix crash on clicking EngineOutput window after using menu dialog

The copy-from-engine-output patch involved calling SetFocus for the
EngineOutput memos, which led to a crash if the last focus-carrying
widget was in the mean time destroyed by closing the dialog. The various
dialog-PopDown functions now invalidate the active widget.
xoptions.c