Fix bug 3231 (hopefully).

http://bugzilla.lyx.org/show_bug.cgi?id=3231

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17184 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-02-14 14:51:47 +00:00
parent 2ab3247df4
commit 0a36347897

View File

@ -268,6 +268,11 @@ void GuiWorkArea::focusInEvent(QFocusEvent * /*event*/)
theApp()->setCurrentView(lyx_view_);
// Repaint the whole screen.
// Note: this is different from redraw() as only the backing pixmap
// will be redrawn, which is cheap.
viewport()->repaint();
// FIXME: it would be better to send a signal "newBuffer()"
// in BufferList that could be connected to the different tabbars.
lyx_view_.updateTab();