Active window on drop to InputField.
This commit is contained in:
parent
5c5438c12e
commit
0cbad9098e
|
@ -3021,6 +3021,7 @@ void InputField::dropEventInner(QDropEvent *e) {
|
||||||
_inDrop = false;
|
_inDrop = false;
|
||||||
_insertedTags.clear();
|
_insertedTags.clear();
|
||||||
_realInsertPosition = -1;
|
_realInsertPosition = -1;
|
||||||
|
window()->activateWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool InputField::canInsertFromMimeDataInner(const QMimeData *source) const {
|
bool InputField::canInsertFromMimeDataInner(const QMimeData *source) const {
|
||||||
|
|
Loading…
Reference in New Issue