aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-19 12:26:45 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-19 12:26:45 +0000
commit823ce1e87ff4d2a333ff64c17ef818a3afbffca7 (patch)
tree301d4f517f273a22c6e0388e050b572730ad9f96 /Source/SPAppController.m
parentb5c4f326fb175499d0b837cb325b9eeea676fb4f (diff)
downloadsequelpro-823ce1e87ff4d2a333ff64c17ef818a3afbffca7.tar.gz
sequelpro-823ce1e87ff4d2a333ff64c17ef818a3afbffca7.tar.bz2
sequelpro-823ce1e87ff4d2a333ff64c17ef818a3afbffca7.zip
• Bundle Editor
- minor fixes - command textView is now a SPEditSheetTextView for better undo behaviour and font storing in the Prefs if changed - if Bundle Editor is already opened ^⌥⌘B brings it to the front • the installation of spTheme and spBundle files (via eg double-clicking at them in Finder) now moves the files to SP's application folder (if successful)
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;
}