<div dir="ltr"><div><div><div><div><div><div>Hi there,<br><br></div>I try to enable a drag&drop-action between to QScintilla widgets but I don't want that the text of the source window is deleted if no keyboard modifiers are used once the text is dropped onto another text field.<br><br></div>I tried to changed the defaultDropAction in the drop-event of the receiver widget, however QSciScinitllabase::dropEvent calls acceptAction (private) that calls acceptProposedAction() instead of accept() such that the original default action of QDrag::exec is used (MoveAction).<br><br></div>Unfortunately acceptAction is private and cannot be overwritten.<br></div>Is there another possibility to force the source QScintilla instance not to delete the text after an arbitrary drag&drop action?<br><br></div>I'm thankful for any suggestion.<br><br></div>Cheers<br>Marc<br clear="all"><div><div><div><div><div><div><div><div><br><br>
</div></div></div></div></div></div></div></div></div>