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
src/slic3r/GUI
|
@ -1107,6 +1107,10 @@ NotificationManager::NotificationManager(wxEvtHandler* evt_handler) :
|
|||
m_evt_handler(evt_handler)
|
||||
{
|
||||
}
|
||||
NotificationManager::~NotificationManager()
|
||||
{
|
||||
HintDatabase::get_instance().uninit();
|
||||
}
|
||||
void NotificationManager::push_notification(const NotificationType type, int timestamp)
|
||||
{
|
||||
auto it = std::find_if(std::begin(basic_notifications), std::end(basic_notifications),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue