mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
Calling destructor of notifications manager and hint database
Ensures to translate hints after change of language
This commit is contained in:
parent
5f7a4982f6
commit
42f4de94df
5 changed files with 17 additions and 0 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue