OSDN Git Service

スクリーンショットの削除時にreloadをしないようにした
authormasakih <masakih@users.sourceforge.jp>
Fri, 28 Nov 2014 13:28:35 +0000 (22:28 +0900)
committermasakih <masakih@users.sourceforge.jp>
Fri, 28 Nov 2014 13:28:35 +0000 (22:28 +0900)
KCD/HMScreenshotListWindowController.m

index 5fb69d6..c76007a 100644 (file)
        if(!appleScript) NSBeep();
        [appleScript executeAndReturnError:nil];
        
-       [self reloadData:nil];
+       NSUInteger selectionIndex = self.screenshotsController.selectionIndex;
+       [self.screenshotsController removeObjectAtArrangedObjectIndex:selectionIndex];
 }
 - (IBAction)revealInFinder:(id)sender
 {