Commit e00d4cc5 authored by antoor's avatar antoor

Double-click to open the file manager

双击打开文件管理
parent 1623a1a9
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
*/ */
const FileManager = require('../../filemanager/');
const LANG = antSword['language']['shellmanager']['list']['grid']; const LANG = antSword['language']['shellmanager']['list']['grid'];
const ContextMenu = require('./contextmenu'); const ContextMenu = require('./contextmenu');
...@@ -88,7 +89,8 @@ class Grid { ...@@ -88,7 +89,8 @@ class Grid {
* @return {[type]} [description] * @return {[type]} [description]
*/ */
_onRowDblClicked(id, event) { _onRowDblClicked(id, event) {
const info = antSword['ipcRenderer'].sendSync('shell-findOne', id);
new FileManager(info);
} }
} }
module.exports = Grid; module.exports = Grid;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment