diff options
author | Daniel Schürmann <daschuer@mixxx.org> | 2018-07-19 22:38:42 +0200 |
---|---|---|
committer | Daniel Schürmann <daschuer@mixxx.org> | 2018-07-19 22:38:42 +0200 |
commit | 3bc12206245e0684f8474f424f88a0fb368c9068 (patch) | |
tree | 4b10a8c523ee2606b1e5177fd8244a165c65b97c /src/widget | |
parent | 490e90b1c7b583b351cb4c68bb8dabf9ab046ba1 (diff) |
Fix WPushbutton behaviour for Trigger buttons. Removed some now unnecessary "RightClickIsPushButton" sets.
Diffstat (limited to 'src/widget')
-rw-r--r-- | src/widget/wpushbutton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget/wpushbutton.cpp b/src/widget/wpushbutton.cpp index a7a4b1726d..226de296df 100644 --- a/src/widget/wpushbutton.cpp +++ b/src/widget/wpushbutton.cpp @@ -430,12 +430,12 @@ void WPushButton::mouseReleaseEvent(QMouseEvent * e) { // This is the secondary clickButton function, // due the leak of visual feedback we do not allow a toggle // function + m_bPressed = false; if (m_rightButtonMode == ControlPushButton::PUSH || m_iNoStates == 1) { - m_bPressed = false; setControlParameterRightUp(0.0); - restyleAndRepaint(); } + restyleAndRepaint(); return; } |