Skip to content
Permalink
Browse files
Don't allow MoveAction when dragging colors from color buttons, allow…
…s dragging colors from QGIS and dropping them into GIMP/Inkscape
  • Loading branch information
nyalldawson committed May 22, 2014
1 parent 581e67e commit 2f1e32fbc7b700f4f084c6906bb49f79bd2b4084
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgscolorbutton.cpp
@@ -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 );
}

0 comments on commit 2f1e32f

Please sign in to comment.