From: Abdelrazak Younes Date: Tue, 13 Nov 2007 10:47:40 +0000 (+0000) Subject: brown paper bag... X-Git-Tag: 1.6.10~7375 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=37d4a67e0dd0b558c36ad7ebf0467b14b40ca4c8;p=features.git brown paper bag... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21580 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 68ece75761..a6166c057a 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -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;