changeset 1275:2b45c041ff58

RT-21888: fixed intial state of FocusedProperty.
author Pavel Safrata
date Thu, 07 Jun 2012 14:03:56 +0200
parents 2bbfe01c80b3
children dd0048db6e86 348163a34ede
files javafx-ui-common/src/javafx/scene/Node.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-common/src/javafx/scene/Node.java	Wed Jun 06 19:59:00 2012 -0400
+++ b/javafx-ui-common/src/javafx/scene/Node.java	Thu Jun 07 14:03:56 2012 +0200
@@ -6151,7 +6151,7 @@
      */
     final class FocusedProperty extends ReadOnlyBooleanPropertyBase {
         private boolean value;
-        private boolean valid;
+        private boolean valid = true;
         private boolean needsChangeEvent = false;
 
         public void store(final boolean value) {