Hi,
Opening a foo.pro file in the current directory
   kicad foo.pro
gives an error message ("Directory not found").

The reason is simple: calling wxSetWorkingDirectory() with an empty string
causes that problem.
This might be due to version of wxwidgets; I have version 3.0 whatever is
currently on debian testing.
Arguably, that should be fixed in wxwidgets (I'll check out that code later
and look for a solution there).

But for now, a fix for the immediate problem

View patch:
https://github.com/hzeller/kicad/compare/fix-error-message-on-opening-file-in-cwd

Download diff:
https://github.com/hzeller/kicad/compare/fix-error-message-on-opening-file-in-cwd.diff

This is against current head.

Cheers,
  Henner.
_______________________________________________
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