mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Don't mess with bookmarks order on project reload.
This commit is contained in:
@@ -220,7 +220,10 @@ public class BookmarkManager implements PersistentStateComponent<Element> {
|
||||
}
|
||||
|
||||
private void writeExternal(Element element) {
|
||||
for (Bookmark bookmark : myBookmarks) {
|
||||
List<Bookmark> reversed = new ArrayList<Bookmark>(myBookmarks);
|
||||
Collections.reverse(reversed);
|
||||
|
||||
for (Bookmark bookmark : reversed) {
|
||||
Element bookmarkElement = new Element("bookmark");
|
||||
|
||||
bookmarkElement.setAttribute("url", bookmark.getFile().getUrl());
|
||||
|
||||
Reference in New Issue
Block a user