Commit 386f14bb authored by Meg Ford's avatar Meg Ford

mainWindow.js: reimplement delete

parent fda2ec59
......@@ -595,9 +595,8 @@ const MainView = new Lang.Class({
let rowWidget = this._selected.get_child(this.fileName);
rowWidget.foreach(Lang.bind(this,
function(child) {
let alwaysShow = child.get_no_show_all();
log(child.name);
if (alwaysShow) {
if (child.name == "FileNameLabel") {
let name = child.get_text();
fileForAction = fileUtil.loadFile(name);
}
......
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