mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Fix recursive painting with Qt4.1 and add a comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19765 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8518086ebe
commit
f041baca3a
@ -238,11 +238,11 @@ void WorkArea::dispatch(FuncRequest const & cmd0, key_modifier::state k)
|
||||
|
||||
void WorkArea::resizeBufferView()
|
||||
{
|
||||
// WARNING: Please don't put any code that will trigger a repaint here!
|
||||
// We are already inside a paint event.
|
||||
lyx_view_->busy(true);
|
||||
lyx_view_->message(_("Formatting document..."));
|
||||
buffer_view_->workAreaResize(width(), height());
|
||||
lyx_view_->updateLayoutChoice();
|
||||
lyx_view_->clearMessage();
|
||||
lyx_view_->busy(false);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user