From a7734edf8ee2a589a73fa2abf280dfdae7f7339b Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 5 Apr 2010 14:24:56 +0000 Subject: [PATCH] TabWorkArea::workArea(): add a FIXME git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34055 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiWorkArea.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index 0fa43708e1..9c4d306a65 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -1427,6 +1427,8 @@ GuiWorkArea * TabWorkArea::currentWorkArea() GuiWorkArea * TabWorkArea::workArea(Buffer & buffer) { + // FIXME: this method doesn't work if we have more than work area + // showing the same buffer. for (int i = 0; i != count(); ++i) { GuiWorkArea * wa = dynamic_cast(widget(i)); LASSERT(wa, return 0); -- 2.39.2