diff --git a/rtgui/exifpanel.cc b/rtgui/exifpanel.cc index 0664132f6..487635f5b 100644 --- a/rtgui/exifpanel.cc +++ b/rtgui/exifpanel.cc @@ -194,13 +194,10 @@ void ExifPanel::setImageData (const FramesMetaData* id) idata = id; } -void ExifPanel::addTag(const std::string &key, const std::pair &label, const Glib::ustring &value, bool editable, bool edited) +void ExifPanel::addTag(const std::string &key, const std::pair &label, const Glib::ustring &exifValue, bool editable, bool edited) { - // TODO Re-fix #5923 if necessary - //if (!value.validate()) { - // value = "???"; - //} + const Glib::ustring& value = exifValue.validate() ? exifValue : "???"; // auto root = exifTreeModel->children();