Clear drop_target when leaving drag
This commit is contained in:
parent
d05dfd7016
commit
0f237155bf
1 changed files with 1 additions and 1 deletions
|
|
@ -525,7 +525,7 @@ impl Application for App {
|
||||||
}
|
}
|
||||||
Msg::DndWorkspaceLeave => {
|
Msg::DndWorkspaceLeave => {
|
||||||
// XXX Doesn't work since leave for a widget may come after enter for another
|
// XXX Doesn't work since leave for a widget may come after enter for another
|
||||||
// self.drop_target = None;
|
self.drop_target = None;
|
||||||
return accept_mime_type(None);
|
return accept_mime_type(None);
|
||||||
}
|
}
|
||||||
Msg::DndWorkspaceDrop => {
|
Msg::DndWorkspaceDrop => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue