Merge pull request #1666 from ethereum/rename_file_names

Fix for File Explorer
pull/3094/head
yann300 6 years ago committed by GitHub
commit aab5bc4cf2
  1. 2
      src/app/files/file-explorer.js

@ -132,6 +132,7 @@ function fileExplorer (localRegistry, files) {
})
self.treeView.event.register('nodeRightClick', function (key, data, label, event) {
if (key === self.files.type) return
MENU_HANDLE && MENU_HANDLE.hide(null, true)
MENU_HANDLE = contextMenu(event, {
'Rename': () => {
@ -147,6 +148,7 @@ function fileExplorer (localRegistry, files) {
})
self.treeView.event.register('leafRightClick', function (key, data, label, event) {
if (key === self.files.type) return
MENU_HANDLE && MENU_HANDLE.hide(null, true)
MENU_HANDLE = contextMenu(event, {
'Rename': () => {

Loading…
Cancel
Save