|
@@ -873,20 +873,20 @@ import Cocoa
|
|
|
return
|
|
|
}
|
|
|
if self.aiResultTextView.string.count > 0 {
|
|
|
- if KMFunctionGuideWindowController.availableShow(.aiInfoResultSave) == true {
|
|
|
- KMFunctionGuideWindowController.setDidShowFor(.aiInfoResultSave)
|
|
|
- let alert = NSAlert()
|
|
|
- alert.alertStyle = .critical
|
|
|
- alert.messageText = NSLocalizedString("The results are not saved. Do you want to save them in other formats?", comment: "")
|
|
|
- alert.addButton(withTitle: NSLocalizedString("Yes", comment: ""))
|
|
|
- alert.addButton(withTitle: NSLocalizedString("No", comment: ""))
|
|
|
- let response = alert.runModal()
|
|
|
- if response.rawValue == 1001 {
|
|
|
- self.cancelAction(self.cancelBtn)
|
|
|
- }
|
|
|
- return
|
|
|
-
|
|
|
- }
|
|
|
+// if KMFunctionGuideWindowController.availableShow(.aiInfoResultSave) == true {
|
|
|
+// KMFunctionGuideWindowController.setDidShowFor(.aiInfoResultSave)
|
|
|
+// let alert = NSAlert()
|
|
|
+// alert.alertStyle = .critical
|
|
|
+// alert.messageText = NSLocalizedString("The results are not saved. Do you want to save them in other formats?", comment: "")
|
|
|
+// alert.addButton(withTitle: NSLocalizedString("Yes", comment: ""))
|
|
|
+// alert.addButton(withTitle: NSLocalizedString("No", comment: ""))
|
|
|
+// let response = alert.runModal()
|
|
|
+// if response.rawValue == 1001 {
|
|
|
+// self.cancelAction(self.cancelBtn)
|
|
|
+// }
|
|
|
+// return
|
|
|
+//
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
self.clearData()
|