fix: save setting of CheckBox "SVG-transparency"

This commit is contained in:
plc-user
2024-03-27 15:15:53 +01:00
parent cc20c218d8
commit a8aa772321

View File

@@ -69,6 +69,8 @@ void ExportProperties::toSettings(QSettings &settings,
draw_titleblock);
settings.setValue(prefix + "drawterminals",
draw_terminals);
settings.setValue(prefix + "drawbgtransparent",
draw_bg_transparent);
settings.setValue(prefix + "drawcoloredconductors",
draw_colored_conductors);
settings.setValue(prefix + "area",
@@ -101,6 +103,8 @@ void ExportProperties::fromSettings(QSettings &settings,
true ).toBool();
draw_terminals = settings.value(prefix + "drawterminals",
false).toBool();
draw_bg_transparent = settings.value(prefix + "drawbgtransparent",
false).toBool();
draw_colored_conductors = settings.value(
prefix + "drawcoloredconductors",
true ).toBool();