Fixing settings not being applied when saving as a new file (#3625)

This commit is contained in:
Neko Box Coder
2025-01-24 17:44:27 +00:00
committed by GitHub
parent f5debdf8fe
commit 698511c5b6

View File

@@ -232,6 +232,6 @@ func (b *Buffer) saveToFile(filename string, withSudo bool, autoSave bool) error
absPath, _ := filepath.Abs(filename)
b.AbsPath = absPath
b.isModified = false
b.UpdateRules()
b.ReloadSettings(true)
return err
}