From a8aa7723216dab97ecef5434a9ccc9597bbfbfc9 Mon Sep 17 00:00:00 2001 From: plc-user <74435298+plc-user@users.noreply.github.com> Date: Wed, 27 Mar 2024 15:15:53 +0100 Subject: [PATCH] fix: save setting of CheckBox "SVG-transparency" --- sources/exportproperties.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sources/exportproperties.cpp b/sources/exportproperties.cpp index 2a9b068e2..5692691e1 100644 --- a/sources/exportproperties.cpp +++ b/sources/exportproperties.cpp @@ -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();