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:
681dba6
)
安全性を向上
author
masakih
<masakih@users.sourceforge.jp>
Fri, 21 Jul 2017 14:34:48 +0000
(23:34 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Fri, 21 Jul 2017 14:34:48 +0000
(23:34 +0900)
KCD/PreferencePanelController.swift
patch
|
blob
|
history
diff --git
a/KCD/PreferencePanelController.swift
b/KCD/PreferencePanelController.swift
index
d6db870
..
5424636
100644
(file)
--- a/
KCD/PreferencePanelController.swift
+++ b/
KCD/PreferencePanelController.swift
@@
-69,7
+69,8
@@
class PreferencePanelController: NSWindowController {
@IBAction func selectScreenShotSaveDirectoryPopUp(_ sender: AnyObject?) {
guard let window = window,
let tag = sender?.tag,
- ScreenshotSaveDirectoryPopupMenuItemTag.selectDiretory.rawValue == tag
+ let itemTag = ScreenshotSaveDirectoryPopupMenuItemTag(rawValue: tag),
+ itemTag == .selectDiretory
else { return }
let panel = NSOpenPanel()