Avoid updating the status bar from the Editor and Timeline at the same time (close #603)

This commit is contained in:
David Capello 2015-03-18 12:54:05 -03:00
parent b4d3e5681e
commit 97d59a94c9
2 changed files with 6 additions and 0 deletions

View File

@ -1053,6 +1053,9 @@ void Editor::centerInSpritePoint(const gfx::Point& spritePos)
void Editor::updateStatusBar()
{
if (!hasMouse())
return;
// Setup status bar using the current editor's state
m_state->onUpdateStatusBar(this);
}

View File

@ -1851,6 +1851,9 @@ void Timeline::setHot(const Hit& hit)
void Timeline::updateStatusBar(ui::Message* msg)
{
if (!hasMouse())
return;
StatusBar* sb = StatusBar::instance();
if (m_state == STATE_MOVING_RANGE) {