Hello all,

I am still trying to make the latest svn download ready for productive usage (fixing bugs). I am currently working on the following problem. I have a NSTextField with NSNumberFormatter. I have set the delegate of this text field to my controller object and implemented.

- (void)controlTextDidChange:(NSNotification *)obj
{
        NSLog(@"value %@", [valueField objectValue];
}

This logs "value (nil)" when typing numbers into the field.. The problem is that _cell.has_valid_object_value is NO and therefore

- (id) objectValue
{
   if (_cell.has_valid_object_value)
     {
      return _object_value;
     }
   else
     {
      return nil;
     }
}

returns nil. Still investigating when this flag is currently set, but this happens definitely too late. This has worked before the upgrade. Anybody remembers a related change to the tree?

Thanks,

  Andreas




_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to