From a32373e58767c909b7d82ce738848eda0312f662 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Mon, 15 Mar 2021 09:43:46 -0600 Subject: [PATCH] Allow selecting filename in information panel BUG: 434329 FIXED-IN: 21.04 --- src/panels/information/informationpanelcontent.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/information/informationpanelcontent.cpp b/src/panels/information/informationpanelcontent.cpp index 03da5f392e..d43b9f5205 100644 --- a/src/panels/information/informationpanelcontent.cpp +++ b/src/panels/information/informationpanelcontent.cpp @@ -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);