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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 23 Jan 2016 18:13:25 +0100
changeset 4692
7b3b75d494c8
parent 4691
0fe41214fdd6
child 4695
9dc08852de25

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

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