Not accepted drag event must be ignored

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

@ -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)

Loading…
Cancel
Save