Bug #6431
WFileDrop::cancelUpload does not cancel upload of the first file in the cue.
Start date:
05/31/2018
Due date:
% Done:
0%
Estimated time:
Description
If all files are cancelled in the drop event, the first file in the files vector will nevertheless be uploaded.
wt-4.0.2
To reproduce:
dropWidget = template->bindNew<Wt::WFileDropWidget>("dropFile"); dropWidget->drop().connect(this, &MyWidget::onFileDropped); void MyWidget::onFileDropped(std::vector<Wt::WFileDropWidget::File*> vFiles) { for (auto f : vFiles) { dropWidget->cancelUpload(f); } }
Updated by Roel Standaert almost 5 years ago
- Status changed from New to InProgress
- Assignee set to Korneel Dumon