]> git.lyx.org Git - features.git/commitdiff
brown paper bag...
authorAbdelrazak Younes <younes@lyx.org>
Tue, 13 Nov 2007 10:47:40 +0000 (10:47 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 13 Nov 2007 10:47:40 +0000 (10:47 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21580 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index 68ece757613891ede76aa4016ca3c6b1d5d84907..a6166c057a3fdb405b7ff725d37d90d0d587b487 100644 (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;