|
@@ -33,8 +33,6 @@ class ViewController : NSViewController, SettingViewControllerDelegate, AutoTest
|
|
|
override func viewDidLoad() {
|
|
|
super.viewDidLoad()
|
|
|
|
|
|
- self.title = "KdanAuto:"+CPDFConvertKit.sharedInstance().versionString
|
|
|
-
|
|
|
customView.wantsLayer = true;
|
|
|
customView.layer?.borderColor = NSColor.lightGray.withAlphaComponent(0.4).cgColor
|
|
|
customView.layer?.borderWidth = 1
|
|
@@ -77,6 +75,10 @@ class ViewController : NSViewController, SettingViewControllerDelegate, AutoTest
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ DispatchQueue.main.async {
|
|
|
+ self.view.window?.title = "KdanAuto:"+CPDFConvertKit.sharedInstance().versionString
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
override var representedObject: Any? {
|
|
@@ -187,7 +189,7 @@ class ViewController : NSViewController, SettingViewControllerDelegate, AutoTest
|
|
|
}
|
|
|
|
|
|
DispatchQueue.main.async {
|
|
|
- self.title = "KdanAuto:"+CPDFConvertKit.sharedInstance().versionString
|
|
|
+ self.view.window?.title = "KdanAuto:"+CPDFConvertKit.sharedInstance().versionString
|
|
|
|
|
|
self._isProcessing = false
|
|
|
self.updateProcessStatus()
|