Not accepted drag event must be ignored

c++11
Stanislav Bas 10 years ago
parent 15bb2855a9
commit e2103287aa

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

Loading…
Cancel
Save