update checkbox icons, clear redo actions when cleaning memory

This commit is contained in:
2019-07-11 11:13:43 +02:00
parent 80b9a4d281
commit d453e854b1
4 changed files with 3 additions and 1 deletions

View File

@@ -52,6 +52,8 @@ void ActionManager::clear()
{
while (!I.m_actions.empty())
I.m_actions.pop();
while (!I.m_redos.empty())
I.m_redos.pop();
I.m_memory = 0;
//LOG("History: %.2f KB", I.m_memory / 1024.f);
App::I.update_memory_usage(I.m_memory);