mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-19 02:13:27 +00:00
Calling destructor of notifications manager and hint database
Ensures to translate hints after change of language
This commit is contained in:
@@ -242,6 +242,13 @@ HintDatabase::~HintDatabase()
|
||||
write_used_binary(m_used_ids);
|
||||
}
|
||||
}
|
||||
void HintDatabase::uninit()
|
||||
{
|
||||
if (m_initialized) {
|
||||
write_used_binary(m_used_ids);
|
||||
}
|
||||
m_initialized = false;
|
||||
}
|
||||
void HintDatabase::init()
|
||||
{
|
||||
load_hints_from_file(std::move(boost::filesystem::path(resources_dir()) / "data" / "hints.ini"));
|
||||
|
||||
Reference in New Issue
Block a user