|
@@ -375,7 +375,7 @@ extension KMPrintWindowController {
|
|
let controller = KMPrintAccessoryController_OC(nibName: "KMPrintAccessoryController_OC", bundle: nil)
|
|
let controller = KMPrintAccessoryController_OC(nibName: "KMPrintAccessoryController_OC", bundle: nil)
|
|
printOperation.printPanel.addAccessoryController(controller)
|
|
printOperation.printPanel.addAccessoryController(controller)
|
|
|
|
|
|
- printOperation.runModal(for: NSApplication.shared.mainWindow!, delegate: self, didRun: nil, contextInfo: nil)
|
|
|
|
|
|
+ printOperation.runModal(for: NSWindow.currentWindow(), delegate: self, didRun: nil, contextInfo: nil)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|