aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_insert.go
diff options
context:
space:
mode:
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