Commit 935b5244 authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

File2Extension: fixed renaming in icons view

parent 88548fe8
......@@ -67,6 +67,9 @@ define([
displayType: function() {
return this.pref("displayType");
},
renameingSupport: function() {
return this.displayType == "detail";
},
workspaceId: function() {
return this.view.workspace.id;
},
......
......@@ -276,7 +276,7 @@ define([
"name": info.data.name,
"new_name": info.newName,
});
} else if (info._f2br) {
} else if (info._f2br && info._f2br.renameingSupport) {
info.data.renameing = true;
} else {
info.view.prompt("", function (newName) {
......
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