mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 17:27:35 +00:00
HackStudio: Scope the "delete file from project" action to tree view
Otherwise it triggers when trying to delete characters in the editor.
This commit is contained in:
parent
354c4690d2
commit
d3bd9f1f0c
1 changed files with 2 additions and 1 deletions
|
@ -561,7 +561,8 @@ NonnullRefPtr<GUI::Action> HackStudioWidget::create_delete_action()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
},
|
||||||
|
m_project_tree_view);
|
||||||
delete_action->set_enabled(false);
|
delete_action->set_enabled(false);
|
||||||
return delete_action;
|
return delete_action;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue