Allow dropping any amount of any files.

This commit is contained in:
John Preston 2020-10-16 17:23:06 +03:00
parent 843fba61ee
commit 86612f0a67
1 changed files with 0 additions and 3 deletions

View File

@ -376,9 +376,6 @@ void SendFilesBox::setupDragArea() {
const auto state = Storage::ComputeMimeDataState(data);
return (state == DragState::PhotoFiles)
? DragState::Image
: (state == DragState::Files
&& !Storage::ValidateDragData(data, true))
? DragState::None
: state;
};
const auto areas = DragArea::SetupDragAreaToContainer(