mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 19:27:35 +00:00
FileManager: Fix assertion when drag&dropping a file to the desktop
This commit is contained in:
parent
226ac8a47b
commit
5eacf62ba3
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ void DirectoryView::handle_drop(const GUI::ModelIndex& index, const GUI::DropEve
|
||||||
had_accepted_drop = true;
|
had_accepted_drop = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (had_accepted_drop)
|
if (had_accepted_drop && on_accepted_drop)
|
||||||
on_accepted_drop();
|
on_accepted_drop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue