commit/virtualRevision: ABuffEr: Fixed bug when alt-tab on add-on window, thanks to Abdel for patch.

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Mon, 20 Feb 2017 11:24:20 -0000

1 new commit in virtualRevision:

https://bitbucket.org/nvdaaddonteam/virtualrevision/commits/8f511c1ca4a7/
Changeset:   8f511c1ca4a7
Branch:      master
User:        ABuffEr
Date:        2017-02-20 11:24:13+00:00
Summary:     Fixed bug when alt-tab on add-on window, thanks to Abdel for patch.

Affected #:  1 file

diff --git a/addon/globalPlugins/virtualRevision.py 
b/addon/globalPlugins/virtualRevision.py
index 0d2628b..1f90f71 100644
--- a/addon/globalPlugins/virtualRevision.py
+++ b/addon/globalPlugins/virtualRevision.py
@@ -69,7 +69,9 @@ class VirtualWindowViewer(wx.Frame):
                self.outputCtrl.SetFocus()
 
        def onActivate(self, evt):
-               pass
+               if evt.GetActive(): 
+                       pass 
+               evt.Skip() 
 
        def onClose(self, evt):
                self.Destroy()

Repository URL: https://bitbucket.org/nvdaaddonteam/virtualrevision/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.

Other related posts:

  • » commit/virtualRevision: ABuffEr: Fixed bug when alt-tab on add-on window, thanks to Abdel for patch. - commits-noreply