Fixed an issue with the snapshot tool not reacting on keyboard input while grabbing on Windows. 6_1_x

Sat, 23 Jan 2016 18:13:25 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 23 Jan 2016 18:13:25 +0100
branch
6_1_x
changeset 4694
a2a7633874e1
parent 4693
7c4e8233461c
child 4704
a6a59317ba4c

Fixed an issue with the snapshot tool not reacting on keyboard input while grabbing on Windows.
(grafted from 7b3b75d494c8ff7307998c8733459b28f6cfca26)

Snapshot/SnapshotFreehandGrabber.py file | annotate | diff | comparison | revisions
Snapshot/SnapshotRegionGrabber.py file | annotate | diff | comparison | revisions
--- a/Snapshot/SnapshotFreehandGrabber.py	Sat Jan 23 17:50:58 2016 +0100
+++ b/Snapshot/SnapshotFreehandGrabber.py	Sat Jan 23 18:13:25 2016 +0100
@@ -101,6 +101,7 @@
 
         self.grabMouse()
         self.grabKeyboard()
+        self.activateWindow()
     
     def paintEvent(self, evt):
         """
--- a/Snapshot/SnapshotRegionGrabber.py	Sat Jan 23 17:50:58 2016 +0100
+++ b/Snapshot/SnapshotRegionGrabber.py	Sat Jan 23 18:13:25 2016 +0100
@@ -129,6 +129,7 @@
 
         self.grabMouse()
         self.grabKeyboard()
+        self.activateWindow()
     
     def paintEvent(self, evt):
         """

eric ide

mercurial