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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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
}