Save main window together with config to avoid rare crash (#1772)

This commit is contained in:
rainmakerv2 2024-12-14 16:18:34 +08:00 committed by GitHub
parent 32556ad0d8
commit a57ccf9112
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -692,6 +692,7 @@ void save(const std::filesystem::path& path) {
std::ofstream file(path, std::ios::binary);
file << data;
file.close();
saveMainWindow(path);
}
void saveMainWindow(const std::filesystem::path& path) {