Skip navigation.
 
mlRe: Desperate for bindings help! Can ya spare a few minutes?
FROM : Steven Kramer
DATE : Tue Dec 14 22:23:49 2004

Op 14-dec-04 om 7:19 heeft Steven Palm het volgende geschreven:

> I'm at wits end... I've twisted this program upside and down,
> sideways, and I can't see what it's problem is... It's probably so
> simple that I'm over looking it, so if anyone would be so gracious as
> to download this and take a peek, I'd be very so grateful!! This is
> going to be a freeware GUI for the OpenVPN firewall, so many will
> benefit.
>
> The problem is that many of the GUI elements are tied to the currently
> selected item from the Configs array controller, but they don't update
> properly UNLESS you pick a different config item in the list, then
> they all update.  FRUSTRATING!  I fire off an NSTask, and when it
> terminates I use the notification it sends to set the status to off
> which sets the active flag to NO, which the GUI should reflect. All
> objects update, debugging NSLog() statements show it flows through,
> but the GUI doesn't update.
>


Have you tried manual notification in the setter? Shouldn't be
necessary, but still...

- (void) setStatus: (bool) inNewStatus
{
   [self willChangeValueForKey: @"status"];
   status = inNewStatus;
   [self didChangeValueForKey: @"status"];
}


Regards

Steven Kramer

--
<email_removed>
http://sprintteam.com/

Related mailsAuthorDate
mlDesperate for bindings help! Can ya spare a few minutes? Steven Palm Dec 14, 07:19
mlRe: Desperate for bindings help! Can ya spare a few minutes? mmalcolm crawford Dec 14, 07:27
mlRe: Desperate for bindings help! Can ya spare a few minutes? Steven Palm Dec 14, 22:00
mlRe: Desperate for bindings help! Can ya spare a few minutes? Steven Kramer Dec 14, 22:23
mlRe: Desperate for bindings help! Can ya spare a few minutes? Steven Palm Dec 15, 06:47
mlRe: Desperate for bindings help! Can ya spare a few minutes? Steven Palm Dec 16, 01:25