summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/configuration.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index 361c937fd..40d701e76 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -523,6 +523,11 @@ std::string Configuration::getStringValue(const std::string &key) const
defaultValue = toString((static_cast<const IntData*>(
data))->getData());
}
+ else if (type == VariableData::DATA_FLOAT)
+ {
+ defaultValue = toString((static_cast<const FloatData*>(
+ data))->getData());
+ }
}
else
{