Fix / work around issue with drag surface not being destroyed
This commit is contained in:
parent
5e290acbee
commit
b554dc3177
1 changed files with 1 additions and 1 deletions
|
|
@ -570,7 +570,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 => {
|
||||||
return request_dnd_data(TOPLEVEL_MIME.to_string());
|
return request_dnd_data(TOPLEVEL_MIME.to_string());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue