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

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) {