brown paper bag...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21580 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-11-13 10:47:40 +00:00
parent e2aba1b550
commit 37d4a67e0d

View File

@ -957,7 +957,7 @@ void GuiView::removeWorkArea(GuiWorkArea * work_area)
continue;
// We found and removed the GuiWorkArea.
if (twa->count()) {
if (!twa->count()) {
// No more WorkAreas in this tab group, so delete it.
delete twa;
break;