← Back to team overview

kicad-developers team mailing list archive

[PATCH] Fix default kicad.pro for eeschema

 

Hi,

if eeschema is started standalone without any file, then currently an OS dependent default project file wrt to name/location is created/used by wxWidgets.
On, e.g., OS X this is “eeschema Preferences” outside of the KiCad preferences folder.

Attached patch 
* Use kicad.pro from preference folder as default for eeschema. If it doesn’t exist, copy the template kicad.pro (from the search stack).
* Prevent a wxWidgets assertion in debug builds when no template kicad.pro is available

Although the whole eeschema search stack and library stuff will go away at some time, until then this at least adds some consistency and avoids placing KiCad config files outside of KiCad preference folder.


Regards,
Bernhard

Attachment: prefs.patch
Description: Binary data