Skip to content

Commit

Permalink
menuClicked and entryDblClicked should also set the staged_value
Browse files Browse the repository at this point in the history
  • Loading branch information
stdweird committed Sep 14, 2023
1 parent f854d92 commit b783fd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/file_picker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ export default {
if(entry.type === 'd') {
this.path = pathmod.resolve(this.path, entry.name);
this.updateEntries(this.path);
this.staged_value = this.path;
}
},
menuClicked: function(entry, event) {
Expand All @@ -203,6 +204,7 @@ export default {
}
this.updateEntries(this.path);
this.staged_value = this.path;
},
save: function() {
this.path = pathmod.dirname(this.staged_value);
Expand Down

0 comments on commit b783fd0

Please sign in to comment.