1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

Not accepted drag event must be ignored

This commit is contained in:
Stanislav Bas 2015-06-29 22:45:34 +03:00
parent 15bb2855a9
commit e2103287aa

View File

@ -55,12 +55,10 @@ void CSVWorld::DragRecordTable::dragMoveEvent(QDragMoveEvent *event)
if (index.flags() & Qt::ItemIsEditable)
{
event->accept();
return;
}
}
else
{
event->ignore();
}
event->ignore();
}
void CSVWorld::DragRecordTable::dropEvent(QDropEvent *event)