bancika / diy-layout-creator

multi platform circuit layout and schematic drawing tool
http://diy-fever.com
GNU General Public License v3.0
868 stars 99 forks source link

Color Code setting resets #767

Open KaspRosen opened 1 year ago

KaspRosen commented 1 year ago

Some updates ago DIYLC suddenly stopped remembering the setting for color codes on resistors, it instantly resets to 5 band. So you have to make the change for every single resistor - or copy one with the desired setting every time you need a resistor. I am on the newest version and have tried a clean install.

I hope it will be easy to fix - it is a very small, but kinda annoying problem ;-)

bancika commented 1 year ago

What are you doing to save the setting? Use the little checkbox on the right side from the selection box?

On Mon, Apr 3, 2023, 20:46 KaspRosen @.***> wrote:

Some updates ago DIYLC suddenly stopped remembering the setting for color codes on resistors, it instantly resets to 5 band. So you have to make the change for every single resistor - or copy one with the desired setting every time you need a resistor. I am on the newest version and have tried a clean install.

I hope it will be easy to fix - it is a very small, but kinda annoying problem ;-)

  • Thanks for a fantastic piece of software

— Reply to this email directly, view it on GitHub https://github.com/bancika/diy-layout-creator/issues/767, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXONCKYV64WV2HOTGMHQ2LW7MLITANCNFSM6AAAAAAWRWM7UQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

KaspRosen commented 1 year ago

Yea exactly. Actually i just checked every setting, and everything is resetting. It just reverts to the program default, as if the checkbox wasn't checked

bancika commented 1 year ago

Can you try to find config.xml file in your user folder under diylc folder?

It should have this block in there where it keeps a default setting for color code. Is it there?

default.org.diylc.components.passive.Resistor:Color code _4_BAND
KaspRosen commented 1 year ago

This is what I can find: `

default.org.diylc.components.passive.Resistor:Color code
<org.diylc.common.ResistorColorCode>NONE</org.diylc.common.ResistorColorCode>

`

I have attached my config.xml as a .txt, as it doesn't allow me to upload a .xml config.txt