diff --git a/companion/src/mdichild.cpp b/companion/src/mdichild.cpp index 3b3b255e1..7f9331bf4 100644 --- a/companion/src/mdichild.cpp +++ b/companion/src/mdichild.cpp @@ -1074,7 +1074,7 @@ void MdiChild::pasteModelData(const QMimeData * mimeData, const QModelIndex row, ++inserts; } } - else { + else if (msgBox.clickedButton() == cancelButton) { ok = false; } }