Set progress label to "Optimizing…" when optimising.

This commit is contained in:
Damiano Galassi committed 2018-02-10 19:28:04 +01:00
1 parent 3cc367a00d
commit 43a74932d3
6 files changed
+39 -11

No files matched your search

+4 -1
View File
@@ -159,7 +159,10 @@ import IOKit.pwr_mgt
}
if optimize {
// TODO: Update progress string
DispatchQueue.main.async {
let docController = self.windowControllers.first as? DocumentWindowController
docController?.setProgress(title: NSLocalizedString("Optimizing…", comment: "Document Optimize sheet."))
}
mp4.optimize()
}
}