OSDN Git Service

スクリーンショットリストをリロードできるようにした
authormasakih <masakih@users.sourceforge.jp>
Fri, 3 Nov 2017 14:59:13 +0000 (23:59 +0900)
committermasakih <masakih@users.sourceforge.jp>
Fri, 3 Nov 2017 14:59:13 +0000 (23:59 +0900)
KCD/ScreenshotListViewController.swift

index e6702f4..9fc047e 100644 (file)
@@ -329,6 +329,11 @@ final class ScreenshotListViewController: NSViewController {
 // MARK: - IBAction
 extension ScreenshotListViewController {
     
+    @IBAction func reloadContent(_ sender: AnyObject?) {
+        
+        reloadData()
+    }
+    
     @IBAction func reloadData(_ sender: AnyObject?) {
         
         reloadData()
@@ -381,7 +386,6 @@ extension ScreenshotListViewController: NSCollectionViewDelegateFlowLayout {
         return NSSize(width: f, height: f)
     }
     
-    
     // Drag and Drop
     func collectionView(_ collectionView: NSCollectionView, canDragItemsAt indexPaths: Set<IndexPath>, with event: NSEvent) -> Bool {