Allow drop to Desktop, fixes #597
This commit is contained in:
parent
f8830814c1
commit
3460c2c106
1 changed files with 1 additions and 1 deletions
|
|
@ -2895,7 +2895,7 @@ impl Tab {
|
|||
Message::Drop(Some((to, mut from))) => {
|
||||
self.dnd_hovered = None;
|
||||
match to {
|
||||
Location::Path(to) => {
|
||||
Location::Desktop(to, ..) | Location::Path(to) => {
|
||||
if let Ok(entries) = fs::read_dir(&to) {
|
||||
for i in entries.into_iter().filter_map(|e| e.ok()) {
|
||||
let i = i.path();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue