mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Return true from dropMimeData() when IgnoreAction is passed.
This commit is contained in:
parent
317f603262
commit
4e2f5b1a5b
@ -203,6 +203,10 @@ bool GroupModel::dropMimeData(const QMimeData* data, Qt::DropAction action,
|
||||
{
|
||||
Q_UNUSED(column);
|
||||
|
||||
if (action == Qt::IgnoreAction) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!data || (action != Qt::MoveAction && action != Qt::CopyAction) || !parent.isValid()) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user