Deactivate when no views are left

This commit is contained in:
simon.kagstrom 2009-12-13 09:21:27 +00:00
parent eeb03b75e4
commit 281b5a8b05

View File

@ -145,6 +145,8 @@ GuiView *Gui::popView()
free(this->views); free(this->views);
this->views = NULL; this->views = NULL;
this->n_views = 0; this->n_views = 0;
/* Deactivate when no views are left */
this->is_active = false;
return NULL; return NULL;
} }