Skip to content
Permalink
Browse files

Right missing right click on QgsColorButtonV2

  • Loading branch information
NathanW2 committed Feb 10, 2015
1 parent 27bf440 commit 04c37f960eaae64be29f64a2af6cb22ed0e51b87
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/gui/qgscolorbuttonv2.cpp
@@ -172,7 +172,12 @@ void QgsColorButtonV2::mousePressEvent( QMouseEvent *e )
return;
}

if ( e->button() == Qt::LeftButton )
if ( e->button() == Qt::RightButton )
{
QToolButton::showMenu();
return;
}
else if ( e->button() == Qt::LeftButton )
{
mDragStartPosition = e->pos();
}

1 comment on commit 04c37f9

@NathanW2

This comment has been minimized.

Copy link
Member Author

NathanW2 commented on 04c37f9 Feb 17, 2015

That was meant to be "Fix missing right click" not sure what I was talking about that night ;)

Please sign in to comment.
You can’t perform that action at this time.