diff --git a/src/ui/torrent_details.js b/src/ui/torrent_details.js
index 9ce76d9..1d52da8 100644
--- a/src/ui/torrent_details.js
+++ b/src/ui/torrent_details.js
@@ -162,7 +162,12 @@ class Torrent extends Component {
ws_send("REMOVE_RESOURCE", { id: torrent.id });
}}
>Remove
- Remove and delete files
+ {
+ dispatch(selectTorrent([torrent.id], SUBTRACT));
+ ws_send("REMOVE_RESOURCE", { id: torrent.id, artifacts: true });
+ }}
+ >Remove and delete files