blob: c32b975778eb5d32c2bab75d9581f8a001cdd804 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/libmolsketch/src/molscene.cpp
+++ b/libmolsketch/src/molscene.cpp
@@ -842,7 +842,7 @@
void MolScene::dragEnterEvent(QGraphicsSceneDragDropEvent *event)
{
if (!event->mimeData() || !event->mimeData()->hasFormat(mimeType())) return;
- if (!event->proposedAction() == Qt::CopyAction) return;
+ if ((!event->proposedAction()) == Qt::CopyAction) return;
event->accept();
for (genericAction* action : sceneActions())
action->setChecked(false);
|