diff options
Diffstat (limited to 'gui/LabeledToolButton.cpp')
-rw-r--r-- | gui/LabeledToolButton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/LabeledToolButton.cpp b/gui/LabeledToolButton.cpp index f1e54696..677476b9 100644 --- a/gui/LabeledToolButton.cpp +++ b/gui/LabeledToolButton.cpp @@ -20,7 +20,7 @@ LabeledToolButton::LabeledToolButton(QWidget * parent) m_label->setWordWrap(true); m_label->setMouseTracking(false); m_label->setAlignment(Qt::AlignCenter); - m_label->setTextInteractionFlags(Qt::NoTextInteraction); + m_label->setTextInteractionFlags(Qt::TextSelectableByMouse); // somehow, this makes word wrap work in the QLabel. yay. m_label->setMinimumWidth(100); } @@ -69,4 +69,4 @@ void LabeledToolButton::resizeEvent(QResizeEvent * event) { m_label->setGeometry(QRect(4, 4, width()-8, height()-8)); QWidget::resizeEvent(event); -}
\ No newline at end of file +} |