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 { public var cassetteEnabled: Bool {
didSet { didSet {
LMMgr.setCassetteEnabled(cassetteEnabled) // LMMgr.setCassetteEnabled(cassetteEnabled) //
LMMgr.loadCassetteData()
} }
} }

View File

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

View File

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