mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-08 08:04:08 +02:00
Allow dropping any amount of any files.
This commit is contained in:
parent
843fba61ee
commit
86612f0a67
1 changed files with 0 additions and 3 deletions
|
@ -376,9 +376,6 @@ void SendFilesBox::setupDragArea() {
|
||||||
const auto state = Storage::ComputeMimeDataState(data);
|
const auto state = Storage::ComputeMimeDataState(data);
|
||||||
return (state == DragState::PhotoFiles)
|
return (state == DragState::PhotoFiles)
|
||||||
? DragState::Image
|
? DragState::Image
|
||||||
: (state == DragState::Files
|
|
||||||
&& !Storage::ValidateDragData(data, true))
|
|
||||||
? DragState::None
|
|
||||||
: state;
|
: state;
|
||||||
};
|
};
|
||||||
const auto areas = DragArea::SetupDragAreaToContainer(
|
const auto areas = DragArea::SetupDragAreaToContainer(
|
||||||
|
|
Loading…
Add table
Reference in a new issue