From e05df7ef19e23e5b3c535f1b10c893b3c91ee1e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20K=C3=A4berich?= Date: Tue, 21 Feb 2023 13:56:30 +0100 Subject: [PATCH] properly cleanup drag pointer --- .../Device/LibreVNA/Compound/compounddeviceeditdialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddeviceeditdialog.cpp b/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddeviceeditdialog.cpp index 546bcef..c155c33 100644 --- a/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddeviceeditdialog.cpp +++ b/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddeviceeditdialog.cpp @@ -280,6 +280,7 @@ void CompoundDeviceEditDialog::createDragFrame(DeviceFrame *c) drag->setMimeData(mimeData); drag->exec(Qt::MoveAction); + dragFrame = nullptr; } void CompoundDeviceEditDialog::updateInsertIndicator(int xcoord)