aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_insert.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-04-25 20:20:20 +0200
committerJoe <rbo@gmx.us>2024-04-25 20:20:20 +0200
commit72578a19bf46b6e0519c3bbd5940e229a1cf5605 (patch)
tree196e6de0a85ba19dab78d35b9b7491990a29855a /src/i_insert.go
parentred (diff)
downloadhardflip-72578a19bf46b6e0519c3bbd5940e229a1cf5605.tar.gz
hardflip-72578a19bf46b6e0519c3bbd5940e229a1cf5605.tar.bz2
hardflip-72578a19bf46b6e0519c3bbd5940e229a1cf5605.tar.xz
hardflip-72578a19bf46b6e0519c3bbd5940e229a1cf5605.tar.zst
hardflip-72578a19bf46b6e0519c3bbd5940e229a1cf5605.zip
ok
Diffstat (limited to '')
-rw-r--r--src/i_insert.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i_insert.go b/src/i_insert.go
index 97dda36..8ea6754 100644
--- a/src/i_insert.go
+++ b/src/i_insert.go
@@ -140,7 +140,8 @@ func i_insert_host(data *HardData, insert *HostNode) error {
}
filename := insert.filename
if data.ui.insert_method == INSERT_ADD ||
- data.ui.insert_method == INSERT_COPY {
+ data.ui.insert_method == INSERT_COPY ||
+ data.ui.insert_method == INSERT_MOVE {
filename = i_insert_format_filename(insert.Name,
data.data_dir + insert.parent.path())
insert.filename = filename