Skip to content

Commit

Permalink
Fix for menu changes in 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
pjeby committed Aug 9, 2024
1 parent 34d1c86 commit 428350f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"name": "Quick Explorer",
"author": "PJ Eby",
"authorUrl": "https://github.com/pjeby",
"version": "0.2.8",
"version": "0.2.9",
"description": "Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard",
"minAppVersion": "0.15.9",
"minAppVersion": "1.5.8",
"isDesktopOnly": true
}
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/FolderMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export class FolderMenu extends PopupMenu implements HoverParent {
}

loadFiles(folder: TFolder, selectedFile?: TAbstractFile) {
this.dom.empty(); this.items = [];
this.items.forEach(i => i.dom.detach()); this.items = [];
const {folderNote, folders, files} = sortedFiles(folder);
if (folderNote) {
this.addFile(folderNote);
Expand Down
1 change: 1 addition & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"0.2.9": "1.5.8",
"0.2.8": "0.15.9",
"0.1.41": "0.15.9",
"0.1.37": "0.14.5",
Expand Down

0 comments on commit 428350f

Please sign in to comment.