On 08/23/2015 05:23 PM, Lorenzo Marcantonio wrote: > > Strange thing of the day. In the footprint editor settings I customize > things as desired, they persist correctly between invocations. > > Choosing new footprint however reset them to the compiled-in defaults... > > First look impression: could it be that the 'fake board' the editor uses > (and which contains the settings) is deleted and recreated without > reapplying the configuration? That would probably explain the problem. > > Also 99% unrelated but "FpEditorTextsRefDefaultText" is pushed twice in > the config object in modeditoptions.cpp >
Hi Lorenzo, I guess it might be my mistake in the recent changes, I am sorry for inconvenience. Would you try the attached patch? If it solves all the problems, please let me know and I will commit it. Regards, Orson
=== modified file 'pcbnew/initpcb.cpp'
--- pcbnew/initpcb.cpp 2015-08-15 14:00:34 +0000
+++ pcbnew/initpcb.cpp 2015-08-24 18:44:06 +0000
@@ -107,6 +107,11 @@
GetScreen()->ClrModify();
BOARD* board = new BOARD;
+
+ // Transfer current design settings
+ if( GetBoard() )
+ board->SetDesignSettings( GetBoard()->GetDesignSettings() );
+
SetBoard( board );
SetCurItem( NULL );
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

