mirror of https://github.com/KLayout/klayout.git
Fixing issue #1948 (crash on dragging a cell) - problem was the popup which Qt does not like during drag-and-drop operations.
This commit is contained in:
parent
9441024fd0
commit
58376b3391
|
|
@ -293,7 +293,8 @@ public:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
END_PROTECTED
|
// Note: Qt does not like popups during drag-and-drop operations ...
|
||||||
|
END_PROTECTED_SILENT
|
||||||
}
|
}
|
||||||
|
|
||||||
void dragLeaveEvent (QDragLeaveEvent * /*event*/)
|
void dragLeaveEvent (QDragLeaveEvent * /*event*/)
|
||||||
|
|
@ -309,7 +310,8 @@ public:
|
||||||
svc = next;
|
svc = next;
|
||||||
}
|
}
|
||||||
|
|
||||||
END_PROTECTED
|
// Note: Qt does not like popups during drag-and-drop operations ...
|
||||||
|
END_PROTECTED_SILENT
|
||||||
}
|
}
|
||||||
|
|
||||||
void dragMoveEvent (QDragMoveEvent *event)
|
void dragMoveEvent (QDragMoveEvent *event)
|
||||||
|
|
@ -332,7 +334,8 @@ public:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
END_PROTECTED
|
// Note: Qt does not like popups during drag-and-drop operations ...
|
||||||
|
END_PROTECTED_SILENT
|
||||||
}
|
}
|
||||||
|
|
||||||
void dropEvent (QDropEvent *event)
|
void dropEvent (QDropEvent *event)
|
||||||
|
|
@ -355,7 +358,8 @@ public:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
END_PROTECTED
|
// Note: Qt does not like popups during drag-and-drop operations ...
|
||||||
|
END_PROTECTED_SILENT
|
||||||
}
|
}
|
||||||
|
|
||||||
void mouseMoveEvent (QMouseEvent *e)
|
void mouseMoveEvent (QMouseEvent *e)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue