diff --git a/clients/oxygen/oxygenbutton.cpp b/clients/oxygen/oxygenbutton.cpp index 625eec20bb..9d8c030e3f 100644 --- a/clients/oxygen/oxygenbutton.cpp +++ b/clients/oxygen/oxygenbutton.cpp @@ -160,8 +160,11 @@ namespace Oxygen void OxygenButton::mousePressEvent(QMouseEvent *e) { - status_ = Oxygen::Pressed; - update(); + if( type_ == ButtonMax || e->button() == Qt::LeftButton ) + { + status_ = Oxygen::Pressed; + update(); + } KCommonDecorationButton::mousePressEvent(e); }