From 9f8b5f80d1bc4716e667ab8ef138ae1cda58590c Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sun, 23 Mar 2014 16:57:12 +0100 Subject: [PATCH] Add 0% to fill_density combobox --- xs/src/PrintConfig.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xs/src/PrintConfig.hpp b/xs/src/PrintConfig.hpp index d591f985b..46ed6c790 100644 --- a/xs/src/PrintConfig.hpp +++ b/xs/src/PrintConfig.hpp @@ -252,6 +252,7 @@ class PrintConfigDef Options["fill_density"].cli = "fill-density=s"; Options["fill_density"].min = 0; Options["fill_density"].max = 100; + Options["fill_density"].enum_values.push_back("0"); Options["fill_density"].enum_values.push_back("5"); Options["fill_density"].enum_values.push_back("10"); Options["fill_density"].enum_values.push_back("15"); @@ -265,6 +266,7 @@ class PrintConfigDef Options["fill_density"].enum_values.push_back("80"); Options["fill_density"].enum_values.push_back("90"); Options["fill_density"].enum_values.push_back("100"); + Options["fill_density"].enum_labels.push_back("0%"); Options["fill_density"].enum_labels.push_back("5%"); Options["fill_density"].enum_labels.push_back("10%"); Options["fill_density"].enum_labels.push_back("15%");