Merge "Remove unused locale info"
diff --git a/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/AbstractTextPropertyEditor.java b/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/AbstractTextPropertyEditor.java
index dd651af..8b07c4d 100644
--- a/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/AbstractTextPropertyEditor.java
+++ b/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/AbstractTextPropertyEditor.java
@@ -317,6 +317,11 @@
    * @return <code>true</code> if transfer was successful.
    */
   private boolean toProperty(Property property) throws Exception {
+    // BEGIN ADT MODIFICATIONS
+    if (m_textControl == null) {
+      return false;
+    }
+    // END ADT MODIFICATIONS
     String text = m_textControl.getText();
     // change property only if text was changed
     if (!m_currentText.equals(text)) {