diff options
author | 2017-06-25 16:48:47 +0200 | |
---|---|---|
committer | 2017-06-25 16:50:02 +0200 | |
commit | df1b7770efff3e03f6ac3f8954f367d8462b0b76 (patch) | |
tree | 56d2084dc46d6ccaad0fb01a7600f161b9012ef3 /src/lib/util/options.cpp | |
parent | 580898e4cac6e202ed80c12d74b1fbb77ac9077a (diff) |
options: Set the value when setting the default as before [O. Galibert]
Diffstat (limited to 'src/lib/util/options.cpp')
-rw-r--r-- | src/lib/util/options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/options.cpp b/src/lib/util/options.cpp index e989d6e4204..14c96f680e8 100644 --- a/src/lib/util/options.cpp +++ b/src/lib/util/options.cpp @@ -356,7 +356,7 @@ void core_options::simple_entry::internal_set_value(std::string &&newvalue) void core_options::simple_entry::set_default_value(std::string &&newvalue) { - m_defdata = std::move(newvalue); + m_data = m_defdata = std::move(newvalue); } |