提交 ea48288c 编写于 作者: J Joao Moreno 提交者: Johannes Rieken

fix #1814

上级 011d8236
......@@ -671,7 +671,7 @@ export class Controller extends treedefaults.DefaultController {
if (event.shiftKey) {
var focus = tree.getFocus();
if (!focus || focus instanceof gitmodel.StatusGroup) {
if (!(focus instanceof gitmodel.FileStatus) || !(element instanceof gitmodel.FileStatus)) {
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册