Keep the All Metadata dialog's values copyable

Plain labels no longer select (#1885); the All Metadata dialog has no copy
button, so its EXIF and XMP values opt back in. The field names stay
unselectable.
This commit is contained in:
FredApps committed 2026-11-26 19:39:03 +07:00
1 parent 80095fc245
commit 8e2aed6623
1 file changed
+2 -1
+2 -1
View File
@@ -1009,7 +1009,8 @@ fn all_metadata_body(ui: &mut egui::Ui, t: &Tokens, dlg: &mut Dialog) {
egui::Grid::new(format!("meta-{g}")).num_columns(2).spacing([16.0, 3.0]).striped(true).show(ui, |ui| {
for (n, v) in list {
ui.label(egui::RichText::new(n).color(t.text_dim));
ui.add(egui::Label::new(egui::RichText::new(v).color(t.text_label)).wrap());
// values (serial numbers, lens names) are copied out of here; the field names are not
ui.add(egui::Label::new(egui::RichText::new(v).color(t.text_label)).wrap().selectable(true));
ui.end_row();
}
});