options: Set the value when setting the default as before [O. Galibert]

This commit is contained in:
Olivier Galibert 2017-06-25 16:48:47 +02:00
parent 580898e4ca
commit df1b7770ef

View File

@ -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);
}