]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/panels/information/informationpanelcontent.cpp
Merge branch 'Applications/19.04'
[dolphin.git] / src / panels / information / informationpanelcontent.cpp
index e694dd8a00d89a41f1bfc49344b54f7a851c6261..c130ad37022733bc8909c1f19518a0c9bbe75c47 100644 (file)
@@ -154,12 +154,12 @@ void InformationPanelContent::refreshPreview() {
         m_previewJob->kill();
     }
 
+    setNameLabelText(m_item.text());
     if (InformationPanelSettings::previewsShown()) {
         m_preview->show();
 
         const QUrl itemUrl = m_item.url();
         const bool isSearchUrl = itemUrl.scheme().contains(QStringLiteral("search")) && m_item.localPath().isEmpty();
-        setNameLabelText(m_item.text());
         if (isSearchUrl) {
             // in the case of a search-URL the URL is not readable for humans
             // (at least not useful to show in the Information Panel)