1
0
mirror of synced 2025-01-19 01:24:15 +01:00

fix: Settings not being written anymore after restart

This commit is contained in:
WerWolv 2024-05-18 20:32:34 +02:00
parent d078f9d847
commit 125d6a3e2a
2 changed files with 4 additions and 0 deletions

View File

@ -50,11 +50,13 @@ namespace hex {
T& operator=(const T &value) {
m_value = value;
m_valid = true;
return m_value;
}
T& operator=(T &&value) noexcept {
m_value = std::move(value);
m_valid = true;
return m_value;
}

View File

@ -87,6 +87,8 @@ namespace hex {
EventWindowDeinitializing::post(m_window);
ContentRegistry::Settings::impl::store();
this->exitImGui();
this->exitGLFW();
}