changeset 7774:9ec1f60df809

[SCENEBUILDER] Tested and fixed FXOMObject.lookupFirstReference() method (to be used for DTL-6774).
author Eric Le Ponner <eric.le.ponner@oracle.com>
date Fri, 22 Aug 2014 18:47:09 +0200
parents eeb8252d3fed
children 1beb181cb557
files apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMInstance.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMInstance.java	Fri Aug 22 10:03:12 2014 -0600
+++ b/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMInstance.java	Fri Aug 22 18:47:09 2014 +0200
@@ -244,6 +244,9 @@
                         }
                     }
                 }
+                if (result != null) {
+                    break;
+                }
             }
         }