← Back to team overview

kicad-developers team mailing list archive

Re: FreeCAD StepUp tools Openfile dialog issue on OSX

 

Hi Jose,

I can reproduce it in OSX Lion, so I can debug :)

Thank you for reporting it and also for the solution-workaround you have found!

keep in touch
Maurice :)

On 14/12/2015 16.43, Jose A. Saumell wrote:
Hi,

I've ran into an issue whenever I had to use the StepUp tools on Freecad
to open a footprint and do the alignment of 3D model.

I would get an open file dialog but nothing would happen after selecting
the .kicad_mod file.

Inside kicad-StepUp-tools.FCMacro:
The name[0] variable would return an empty value.

I worked around the problem by not using native OSX Open file dialog:
//

name=QtGui.QFileDialog.getOpenFileName(self, 'Open file',
last_file_path,"kicad module files (*.kicad_mod)",
options=QtGui.QFileDialog.DontUseNativeDialog )[0]

//

This is working for me now, not sure exactly why it is not working with
native OSX dialog.


Cheers, Jose






_______________________________________________
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



Follow ups

References