Fix timeout in StatusBar::showTool()

This commit is contained in:
David Capello 2016-04-25 13:26:39 -03:00
parent 5f90ef7c9b
commit d363f29840

View File

@ -637,6 +637,8 @@ void StatusBar::showTool(int msecs, tools::Tool* tool)
{
ASSERT(tool != NULL);
IndicatorsGeneration(m_indicators).add(tool);
m_timeout = base::current_tick() + msecs;
}
void StatusBar::showSnapToGridWarning(bool state)