Re: NSOpenPanel and new directories?
Re: NSOpenPanel and new directories?
- Subject: Re: NSOpenPanel and new directories?
- From: Matt Neuburg <email@hidden>
- Date: Tue, 29 Mar 2005 18:08:48 -0800
On Tue, 29 Mar 2005 17:55:31 -0800, "David Piasecki" <email@hidden>
said:
>I'm using an NSOpenPanel to open files in my application. It works
>great except when I create a new directory outside of my application.
>That directory is not recognized in the NSOpenPanel unless I quit and
>reload my application. Is there any sort of refresh I can do on the
>NSOpenPanel object so it can behave as I would expect it to?
I would like to know this too. My app opens text documents. If I save some
new text documents elsewhere while my app is open, and I come back to my app
and choose File > Open, the new text documents are not shown in the
directory where they actually are. I have to quit my app and start it up
again in order to force the File > Open dialog to refresh itself. I regard
this as a bug in Cocoa, but maybe there's a workaround and I'd like to hear
about it if there is. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden