|
@@ -131,7 +131,8 @@ class KMURLToPDFWindowController: NSWindowController, NSTextFieldDelegate {
|
|
|
}
|
|
|
|
|
|
@IBAction func buttonItemClicked_Cancel(_ sender: NSButton) {
|
|
|
- self.window?.endSheet(NSWindow.currentWindow())
|
|
|
+ NSWindow.currentWindow().endSheet(self.window!)
|
|
|
+ self.window?.orderOut(self)
|
|
|
}
|
|
|
|
|
|
func urlValueEncode(_ str: String) -> String? {
|