From: toshinagata1964 Date: Tue, 26 Apr 2016 14:27:04 +0000 (+0000) Subject: Ruby modal dialog causes crash sometimes on activation. Fixed (hopefully) X-Git-Tag: v1.0.2~50 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8ab1f9f9a3afeec0d13ff15d890df65e66ced737;p=molby%2FMolby.git Ruby modal dialog causes crash sometimes on activation. Fixed (hopefully) git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/molby/trunk@592 a2be9bc6-48de-4e38-9406-05402d4bc13c --- diff --git a/wxSources/RubyDialogFrame.cpp b/wxSources/RubyDialogFrame.cpp index e0e8897..e19d18b 100644 --- a/wxSources/RubyDialogFrame.cpp +++ b/wxSources/RubyDialogFrame.cpp @@ -460,7 +460,7 @@ RubyDialogFrame::OnChildFocus(wxChildFocusEvent &event) } #endif lastFocusedWindow = winp; - } + } else lastFocusedWindow = NULL; event.Skip(); }