Save main window together with config to avoid rare crash

This commit is contained in:
rainmakerv2 2024-12-14 14:48:49 +08:00
parent 715ac8a279
commit c16876f8e7

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