GuiView: Moving updateStatusBar() out of updateDialogs() because this is no end of trouble WRT recursive paintings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25238 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-06-12 16:00:36 +00:00
parent 825bac4b43
commit 28b77e4f72
2 changed files with 2 additions and 1 deletions

View File

@ -2064,6 +2064,7 @@ void GuiView::restartCursor()
// Take this occasion to update the other GUI elements.
updateDialogs();
updateStatusBar();
}
@ -2233,7 +2234,6 @@ void GuiView::updateDialogs()
}
updateToolbars();
updateLayoutList();
updateStatusBar();
}

View File

@ -464,6 +464,7 @@ void GuiWorkArea::dispatch(FuncRequest const & cmd0, KeyModifier mod)
if (cmd.action != LFUN_MOUSE_MOTION) {
completer_->updateVisibility(false, false);
lyx_view_->updateDialogs();
lyx_view_->updateStatusBar();
}
// GUI tweaks except with mouse motion with no button pressed.