aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index 2003a9e6..d5a3cef2 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -459,7 +459,7 @@
NSString *newPath = [NSString stringWithFormat:@"%@/%@", themePath, [filename lastPathComponent]];
if(![fm fileExistsAtPath:newPath isDirectory:nil]) {
- if(![fm copyItemAtPath:filename toPath:newPath error:nil]) {
+ if(![fm moveItemAtPath:filename toPath:newPath error:nil]) {
NSBeep();
return;
}
@@ -492,7 +492,7 @@
NSString *newPath = [NSString stringWithFormat:@"%@/%@", bundlePath, [filename lastPathComponent]];
if(![fm fileExistsAtPath:newPath isDirectory:nil]) {
- if(![fm copyItemAtPath:filename toPath:newPath error:nil]) {
+ if(![fm moveItemAtPath:filename toPath:newPath error:nil]) {
NSBeep();
return;
}