PrefMgr // Remove redundant LMMgr.loadCassetteData().

This commit is contained in:
ShikiSuen 2022-10-21 09:26:20 +08:00
parent 78af4b72c2
commit 60b3fcf625
3 changed files with 0 additions and 3 deletions

View File

@ -193,7 +193,6 @@ public class PrefMgr: PrefMgrProtocol {
public var cassetteEnabled: Bool {
didSet {
LMMgr.setCassetteEnabled(cassetteEnabled) //
LMMgr.loadCassetteData()
}
}

View File

@ -78,7 +78,6 @@ struct VwrPrefPaneCassette: View {
PrefMgr.shared.cassettePath = url.path
tbxCassettePath = PrefMgr.shared.cassettePath
BookmarkManager.shared.saveBookmark(for: url)
LMMgr.loadCassetteData()
} else {
IMEApp.buzz()
if !bolPreviousPathValidity {

View File

@ -325,7 +325,6 @@ class CtlPrefWindow: NSWindowController {
if LMMgr.checkCassettePathValidity(url.path) {
PrefMgr.shared.cassettePath = url.path
BookmarkManager.shared.saveBookmark(for: url)
LMMgr.loadCassetteData()
} else {
IMEApp.buzz()
if !bolPreviousPathValidity {