summaryrefslogtreecommitdiffstats
path: root/src/Configuration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Configuration.cpp')
-rw-r--r--src/Configuration.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Configuration.cpp b/src/Configuration.cpp
index 2ed00f7..74bcb25 100644
--- a/src/Configuration.cpp
+++ b/src/Configuration.cpp
@@ -182,6 +182,8 @@ Configuration::load()
file >> _font_size;
} else if (key == "show_toolbar") {
file >> _show_toolbar;
+ } else if (key == "sprung_layout") {
+ file >> _sprung_layout;
} else if (key == "port_color") {
std::string type_name;
uint32_t rgba;
@@ -279,6 +281,7 @@ Configuration::save()
file << "zoom_level " << _zoom << std::endl;
file << "font_size " << _font_size << std::endl;
file << "show_toolbar " << _show_toolbar << std::endl;
+ file << "sprung_layout " << _sprung_layout << std::endl;
file << std::hex << std::uppercase;
for (int i = 0; i < N_PORT_TYPES; ++i) {