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
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();