← Back to team overview

kicad-developers team mailing list archive

Re: wxFileDialog issues

 

On 5/12/2010 3:36 PM, Dick Hollenbeck wrote:
> Wayne Stambaugh wrote:
>>> For file dialogs issues:
>>> Reopening the last opened file is a very frequent case.
>>> So it make sense to remember last selected file.
>>> But this filename remains selected even if does not exists in the
>>> current opened directory (when the cwd has changed).
>>> So testing the existence of this file in the opened directory before
>>> displaying its name could be better and fixes issues.
>>>     
>>
>> This seems reasonable to me.  I'll wait and if no one complains to
>> loudly about doing it this way, I'll implement this behavior
>> consistently across all of the Kicad applications.  It shouldn't be that
>> difficult of a task.
>>   
> 
> 
> Wayne, thanks for this.   Appreciate your time, and your efforts trying
> to organize the chaos, again.

I think it will be a little while yet before I get all the chaos
organized. ;)

> 
> I bet you are thinking encapsulation....

Something like that.  I will probably end up refactoring out all the
duplicate code, pushing it down to one of the base frame classes where
it makes the most sense, and hiding all the gruesome details.

Wayne

> 
> 
> Dick
> 
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 



References