From ac4af46aed54dd7c7bd47dfe9fed869d1a61f62f Mon Sep 17 00:00:00 2001 From: Sky Date: Tue, 29 Oct 2013 12:47:14 +0000 Subject: Don't make LabeledToolButton selectable --- gui/LabeledToolButton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/LabeledToolButton.cpp') diff --git a/gui/LabeledToolButton.cpp b/gui/LabeledToolButton.cpp index 677476b9..be84d1b7 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::TextSelectableByMouse); + m_label->setTextInteractionFlags(Qt::NoTextInteraction); // somehow, this makes word wrap work in the QLabel. yay. m_label->setMinimumWidth(100); } -- cgit v1.2.3