---
 pcbnew/pcbframe.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pcbnew/pcbframe.cpp b/pcbnew/pcbframe.cpp
index 183f929..1824bb3 100644
--- a/pcbnew/pcbframe.cpp
+++ b/pcbnew/pcbframe.cpp
@@ -471,6 +471,9 @@ PCB_EDIT_FRAME::PCB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
 
     // disable Export STEP item if kicad2step does not exist
     wxString strK2S = Pgm().GetExecutablePath();
+    #ifdef __WXMAC__
+        strK2S += "Contents/MacOS/";
+    #endif
     wxFileName appK2S( strK2S, "kicad2step" );
 
     #ifdef _WIN32
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to