Skip to content


Don't allow MoveAction when dragging colors from color buttons, allow…
Browse files Browse the repository at this point in the history
…s dragging colors from QGIS and dropping them into GIMP/Inkscape
  • Loading branch information
nyalldawson committed May 22, 2014
1 parent 581e67e commit 2f1e32f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgscolorbutton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ void QgsColorButton::mouseMoveEvent( QMouseEvent *e )
//set as drag pixmap
drag->setPixmap( QPixmap::fromImage( colorImage ) );

drag->exec( Qt::CopyAction | Qt::MoveAction );
drag->exec( Qt::CopyAction );
setDown( false );

Expand Down

0 comments on commit 2f1e32f

Please sign in to comment.