Fix "modified document" indicator in tabs when we cancel tool loop

This commit is contained in:
David Capello 2015-01-20 08:45:06 -03:00
parent 15c6ee9046
commit 6fcf3f3d31
2 changed files with 2 additions and 2 deletions

View File

@ -214,6 +214,8 @@ void DrawingState::destroyLoop()
delete m_toolLoop;
m_toolLoopManager = NULL;
m_toolLoop = NULL;
app_rebuild_documents_tabs();
}
} // namespace app

View File

@ -224,8 +224,6 @@ public:
if (redraw)
update_screen_for_document(m_document);
else
app_rebuild_documents_tabs();
}
// IToolLoop interface