Commit cdb2b273 authored by Martin Urban's avatar Martin Urban
Browse files

File: Fix #1857

parent c933b880
......@@ -39,7 +39,8 @@ var FileBaseEvents = Class.extend({
var abspath = self.FileBase.helper.abspath(data.name);
var inselection = self.FileBase.selections.entries[abspath];
if (inselection == undefined) {
if (self.FileBase.workflow.selectmode) {
if (self.FileBase.workflow.selectmode && Object.keys(self.FileBase
.selections.entries).length >= 1) {
self.FileBase.selections.changeSelection(node, true);
self.FileBase.menuitems.showMenu(event, "s");
} else {
......
Supports Markdown
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