leocad icon indicating copy to clipboard operation
leocad copied to clipboard

Part selection dialog in "Properties" widget does not stores its preferences

Open app4soft opened this issue 4 months ago • 0 comments

Describe the bug Part selection dialog in "Properties" widget does not stores its preferences, and always resets to "Parts" list preferences if it changed instead.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Properties' widget (while there is any selected part);
  2. Click on 'Part' name to select another part to replace with;
  3. Change floating dialog preferences (like, disable preview) and choose any part;
  4. Now go to 'Parts' list widget and turn on (if not yet) show icons and change icons size;
  5. Go to 'Properties' widget again and repeat step 2;
  6. See error

Expected behavior

Parts selection dialog in "Properties" widget reuses code from "Parts" list wdiget, but its settings should be separately stored and should be not overwritten by changed preferencs of "Parts" list.

Screenshots None

Version (please complete the following information):

  • OS: Debian 12
  • LeoCAD Version: continuous (AppImage)

Crash information: None

Additional context None

app4soft avatar Oct 09 '24 06:10 app4soft