mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
fix: save setting of CheckBox "SVG-transparency"
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user