From: Abdelrazak Younes Date: Mon, 5 Apr 2010 14:24:56 +0000 (+0000) Subject: TabWorkArea::workArea(): add a FIXME X-Git-Tag: 2.0.0~3546 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a7734edf8ee2a589a73fa2abf280dfdae7f7339b;p=features.git TabWorkArea::workArea(): add a FIXME git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34055 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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);