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:
parent
15bb2855a9
commit
e2103287aa
1 changed files with 2 additions and 4 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue