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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgscolorbutton.cpp

+1-1
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)