Project

General

Profile

extra_activation_1.txt

Sergey Ivanovskiy, 02/05/2016 04:04 AM

Download (956 Bytes)

 
1
=== modified file 'src/com/goldencode/p2j/ui/client/gui/driver/web/GuiWebDriver.java'
2
--- src/com/goldencode/p2j/ui/client/gui/driver/web/GuiWebDriver.java	2016-02-05 06:32:41 +0000
3
+++ src/com/goldencode/p2j/ui/client/gui/driver/web/GuiWebDriver.java	2016-02-05 08:40:58 +0000
4
@@ -905,15 +905,6 @@
5
       // check if overlay window exists
6
       OverlayWindow ow = WindowManager.findOverlayWindow();
7
       
8
-      // this protects from activation already active window
9
-      // it become important when overlay window is on screen
10
-      // in this case double activation will incorrectly dismiss overlay
11
-      // we do not need to activate already active window is there is no overlay on the screen
12
-      if (state && WindowManager.isWindowActive(window) && ow == null)
13
-      {
14
-         return;
15
-      }
16
-
17
       // if overlay window exists and not a target of activation - remove it first
18
       if (state && ow != null && ow != window)
19
       {
20