]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Allow selecting filename in information panel
authorNate Graham <nate@kde.org>
Mon, 15 Mar 2021 15:43:46 +0000 (09:43 -0600)
committerNate Graham <nate@kde.org>
Mon, 15 Mar 2021 15:43:46 +0000 (09:43 -0600)
BUG: 434329
FIXED-IN: 21.04

src/panels/information/informationpanelcontent.cpp

index 03da5f392e8892dba9f9a42ae89b0e1ded73f51c..d43b9f5205d72b92531b0b9849f652a59078d881 100644 (file)
@@ -98,6 +98,7 @@ InformationPanelContent::InformationPanelContent(QWidget* parent) :
     m_nameLabel->setTextFormat(Qt::PlainText);
     m_nameLabel->setAlignment(Qt::AlignHCenter);
     m_nameLabel->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Fixed);
+    m_nameLabel->setTextInteractionFlags(Qt::TextSelectableByMouse);
 
     const bool previewsShown = InformationPanelSettings::previewsShown();
     m_preview->setVisible(previewsShown);