mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
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:
parent
e2aba1b550
commit
37d4a67e0d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user