mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 837117 - Downloaded items change position in the downloads view if Clear List is selected.
r=Mano
This commit is contained in:
parent
1360f99541
commit
20781e041d
@ -1037,8 +1037,8 @@ DownloadsPlacesView.prototype = {
|
||||
else {
|
||||
shell.dataItem = null;
|
||||
// Move it below the session-download items;
|
||||
if (this._lastSessionDownloadElement == shell.dataItem) {
|
||||
this._lastSessionDownloadElement = shell.dataItem.previousSibling;
|
||||
if (this._lastSessionDownloadElement == shell.element) {
|
||||
this._lastSessionDownloadElement = shell.element.previousSibling;
|
||||
}
|
||||
else {
|
||||
let before = this._lastSessionDownloadElement ?
|
||||
|
Loading…
Reference in New Issue
Block a user