|
@@ -4167,15 +4167,7 @@ extension KMMainViewController : KMMainToolbarControllerDelegate {
|
|
|
self.listView.setNeedsDisplayForVisiblePages()
|
|
|
}
|
|
|
if (result) {
|
|
|
- let alert = NSAlert()
|
|
|
- alert.alertStyle = .warning
|
|
|
- alert.messageText = "成功"
|
|
|
- alert.runModal()
|
|
|
- } else {
|
|
|
- let alert = NSAlert()
|
|
|
- alert.alertStyle = .critical
|
|
|
- alert.messageText = "失败"
|
|
|
- alert.runModal()
|
|
|
+ NSWorkspace.shared.activateFileViewerSelecting([URL(fileURLWithPath: savePanel.url!.path)])
|
|
|
}
|
|
|
}
|
|
|
}
|