]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiWorkArea.C
This commit initialise correctly the tab bar in a new window.
[features.git] / src / frontends / qt4 / GuiWorkArea.C
index 2d285d8e87720bfbfe586a70404bc2978c8c9bf1..069738cb2a3807df65186ad77e70339c2a1cbcfc 100644 (file)
@@ -288,6 +288,9 @@ void GuiWorkArea::dropEvent(QDropEvent* event)
 
 void GuiWorkArea::focusInEvent(QFocusEvent * /*event*/)
 {
+       // FIXME: it would be better to send a signal "newBuffer()"
+       // in BufferList that could be connected to the different tabbar.
+       lyx_view_.updateTab();
        startBlinkingCursor();
 }