Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hein2014-04-09 07:23:52 -0400
committerMarcel Hein2014-04-09 07:23:57 -0400
commit0caf770a3e9a11b440fc362b761534ded8f7be64 (patch)
treefdbeb9052f9efe7c3600faf2f463d71d5b42b96b
parent565e1f0fac7a644f03883782b56d478be02de87f (diff)
downloadorg.eclipse.jubula.core-0caf770a3e9a11b440fc362b761534ded8f7be64.tar.gz
org.eclipse.jubula.core-0caf770a3e9a11b440fc362b761534ded8f7be64.tar.xz
org.eclipse.jubula.core-0caf770a3e9a11b440fc362b761534ded8f7be64.zip
Fix for Bug 432417
-rw-r--r--org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/driver/RobotEventConfirmerJavaFXImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/driver/RobotEventConfirmerJavaFXImpl.java b/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/driver/RobotEventConfirmerJavaFXImpl.java
index f5800532e..feea298b2 100644
--- a/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/driver/RobotEventConfirmerJavaFXImpl.java
+++ b/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/driver/RobotEventConfirmerJavaFXImpl.java
@@ -237,7 +237,7 @@ class RobotEventConfirmerJavaFXImpl implements IRobotEventConfirmer,
for (int i = 0; i < masks.length; i++) {
for (final ReadOnlyObjectProperty<? extends Window> w
: m_sceneGraphs) {
- if (w.getValue() == null) {
+ if (w.getValue() == null || !(w.getValue().isShowing())) {
// Removing this property from the list because the
// window it belongs to is not present.
m_sceneGraphs.remove(w);
@@ -267,7 +267,7 @@ class RobotEventConfirmerJavaFXImpl implements IRobotEventConfirmer,
for (int i = 0; i < masks.length; i++) {
for (ReadOnlyObjectProperty<? extends Window> w
: m_sceneGraphs) {
- if (w.getValue() == null) {
+ if (w.getValue() == null || !(w.getValue().isShowing())) {
// Removing this property from the list because the
// window it belongs to is not present.
m_sceneGraphs.remove(w);

Back to the top