Skip to content

Commit 2f1e32f

Browse files
committed
Don't allow MoveAction when dragging colors from color buttons, allows dragging colors from QGIS and dropping them into GIMP/Inkscape
1 parent 581e67e commit 2f1e32f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/gui/qgscolorbutton.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ void QgsColorButton::mouseMoveEvent( QMouseEvent *e )
185185
//set as drag pixmap
186186
drag->setPixmap( QPixmap::fromImage( colorImage ) );
187187

188-
drag->exec( Qt::CopyAction | Qt::MoveAction );
188+
drag->exec( Qt::CopyAction );
189189
setDown( false );
190190
}
191191

0 commit comments

Comments
 (0)