mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
fix drop event with qt copy action
This commit is contained in:
parent
8b89cfd199
commit
eb880363e3
@ -7104,7 +7104,8 @@ void QgsProcessingMultipleLayerLineEdit::dropEvent( QDropEvent *event )
|
||||
const QStringList uris = QgsProcessingMultipleInputPanelWidget::compatibleUrisFromMimeData( mParam, event->mimeData(), {} );
|
||||
if ( !uris.isEmpty() )
|
||||
{
|
||||
event->acceptProposedAction();
|
||||
event->setDropAction( Qt::CopyAction );
|
||||
event->accept();
|
||||
QVariantList uriList;
|
||||
uriList.reserve( uris.size() );
|
||||
for ( const QString &uri : uris )
|
||||
|
Loading…
x
Reference in New Issue
Block a user