mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 12:45:27 +00:00
Bug 415521 ? when inserting into a sorted view we should insert at the end (for marco, r=dietrich, a=beltzner)
This commit is contained in:
parent
764465d990
commit
5a62f4fcb4
@ -542,6 +542,10 @@
|
||||
container = lastSelected;
|
||||
index = -1;
|
||||
}
|
||||
else if (resultview.isSorted()) {
|
||||
// If we are into a sorted view we should append at the end
|
||||
index = -1;
|
||||
}
|
||||
else if (!this._disallowInsertion(lastSelected) &&
|
||||
lastSelected.containerOpen &&
|
||||
orientation == Ci.nsITreeView.DROP_AFTER) {
|
||||
|
Loading…
Reference in New Issue
Block a user