13
0

most of the code to set up RC preferences metadata

Needs a slight change in the metadata data type, API and search code
This commit is contained in:
Paul Davis 2023-01-24 18:35:52 -07:00
parent f7387a5d77
commit 9d4a65e30d

View File

@ -4814,6 +4814,20 @@ These settings will only take effect after %1 is restarted.\n\
/* Place the search entry */
treeview_packer.pack_end (search_packer, false, false);
/* Connect metadata */
for (auto p : pages()) {
for (auto oc : p.second->components) {
Option* o = dynamic_cast<Option*> (oc);
if (o) {
Configuration::Metadata const * m = Config->get_metadata (o->id());
if (m) {
// oc->set_metadata (m);
}
}
}
}
}
bool