OSDN Git Service
(root)
/
kcd
/
KCD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b47f095
)
スクリーンショットの削除時にreloadをしないようにした
author
masakih
<masakih@users.sourceforge.jp>
Fri, 28 Nov 2014 13:28:35 +0000
(22:28 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Fri, 28 Nov 2014 13:28:35 +0000
(22:28 +0900)
KCD/HMScreenshotListWindowController.m
patch
|
blob
|
history
diff --git
a/KCD/HMScreenshotListWindowController.m
b/KCD/HMScreenshotListWindowController.m
index
5fb69d6
..
c76007a
100644
(file)
--- a/
KCD/HMScreenshotListWindowController.m
+++ b/
KCD/HMScreenshotListWindowController.m
@@
-163,7
+163,8
@@
if(!appleScript) NSBeep();
[appleScript executeAndReturnError:nil];
- [self reloadData:nil];
+ NSUInteger selectionIndex = self.screenshotsController.selectionIndex;
+ [self.screenshotsController removeObjectAtArrangedObjectIndex:selectionIndex];
}
- (IBAction)revealInFinder:(id)sender
{