Allow selecting filename in information panel

BUG: 434329
FIXED-IN: 21.04
This commit is contained in:
Nate Graham 2021-03-15 09:43:46 -06:00
parent 8988fc01d0
commit a32373e587

View 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);