1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 23:23:52 +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) if (index.flags() & Qt::ItemIsEditable)
{ {
event->accept(); event->accept();
return;
} }
} }
else event->ignore();
{
event->ignore();
}
} }
void CSVWorld::DragRecordTable::dropEvent(QDropEvent *event) void CSVWorld::DragRecordTable::dropEvent(QDropEvent *event)