Skip to content
Snippets Groups Projects
Commit 4f2641ae authored by Tofu Linden's avatar Tofu Linden
Browse files

merge from PE's viewer-release

parents d10b9a7f b12201bf
No related branches found
No related tags found
No related merge requests found
...@@ -151,7 +151,7 @@ void LLPanelLandMedia::refresh() ...@@ -151,7 +151,7 @@ void LLPanelLandMedia::refresh()
mMediaDescEdit->setEnabled( can_change_media ); mMediaDescEdit->setEnabled( can_change_media );
std::string mime_type = parcel->getMediaType(); std::string mime_type = parcel->getMediaType();
if (mime_type.empty()) if (mime_type.empty() || mime_type == LLMIMETypes::getDefaultMimeType())
{ {
mime_type = LLMIMETypes::getDefaultMimeTypeTranslation(); mime_type = LLMIMETypes::getDefaultMimeTypeTranslation();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment