mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-24 03:12:05 +03:00
Tidy up when drag save aborted (fixes assert when dragging URL to same window)
svn path=/trunk/netsurf/; revision=4043
This commit is contained in:
parent
084bcd631a
commit
175395b52d
@ -484,8 +484,11 @@ void ro_gui_save_drag_end(wimp_dragged *drag)
|
||||
}
|
||||
|
||||
/* ignore drags that remain within the source window */
|
||||
if (gui_save_sourcew != (wimp_w)-1 && pointer.w == gui_save_sourcew)
|
||||
if (gui_save_sourcew != (wimp_w)-1 && pointer.w == gui_save_sourcew) {
|
||||
/* cancel the drag operation */
|
||||
gui_current_drag_type = GUI_DRAG_NONE;
|
||||
return;
|
||||
}
|
||||
|
||||
if (!saving_from_dialog) {
|
||||
/* saving directly from browser window, choose a
|
||||
|
Loading…
Reference in New Issue
Block a user