From 37d4a67e0dd0b558c36ad7ebf0467b14b40ca4c8 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Tue, 13 Nov 2007 10:47:40 +0000 Subject: [PATCH] brown paper bag... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21580 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2