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:
ef87cc9
)
スクリーンショットリストをリロードできるようにした
author
masakih
<masakih@users.sourceforge.jp>
Fri, 3 Nov 2017 14:59:13 +0000
(23:59 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Fri, 3 Nov 2017 14:59:13 +0000
(23:59 +0900)
KCD/ScreenshotListViewController.swift
patch
|
blob
|
history
diff --git
a/KCD/ScreenshotListViewController.swift
b/KCD/ScreenshotListViewController.swift
index
e6702f4
..
9fc047e
100644
(file)
--- a/
KCD/ScreenshotListViewController.swift
+++ b/
KCD/ScreenshotListViewController.swift
@@
-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 {