IDEMPIERE-1653 - java.lang.ArrayIndexOutOfBoundsException when zooming in Swing Client
This commit is contained in:
parent
b3e061afdc
commit
f7c94286ff
|
@ -1088,7 +1088,7 @@ public final class AEnv
|
||||||
*/
|
*/
|
||||||
public static void removeWindow (int WindowNo)
|
public static void removeWindow (int WindowNo)
|
||||||
{
|
{
|
||||||
if (WindowNo < s_windows.size())
|
if (WindowNo>=0 && WindowNo < s_windows.size())
|
||||||
s_windows.set(WindowNo, null);
|
s_windows.set(WindowNo, null);
|
||||||
} // removeWindow
|
} // removeWindow
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue