index a6302aa9dd0a2e812cfbccc9c0a7f6beb5463d76..e1671e5b1064f85fd6ca873590db669d8c2d54b2 100644 (file)
this->set_text(prefs_get_string_attribute(_prefs_path.c_str(), _attr.c_str()));
}
-void PrefEntry::on_activate()
+void PrefEntry::on_changed()
{
if (this->is_visible()) //only take action if user changed value
{
prefs_set_string_attribute(_prefs_path.c_str(), _attr.c_str(), this->get_text().c_str());
}
- return;
}
} // namespace Widget