Actions
Bug #6431
closedWFileDrop::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 over 6 years ago
- Status changed from New to InProgress
- Assignee set to Korneel Dumon
Updated by Korneel Dumon over 6 years ago
- Status changed from InProgress to Implemented @Emweb
Updated by Roel Standaert about 6 years ago
- Status changed from Implemented @Emweb to Closed
Actions