From 281b5a8b050e2bfd7ed30f00b84f024c264f0ca1 Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sun, 13 Dec 2009 09:21:27 +0000 Subject: [PATCH] Deactivate when no views are left --- gui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui.cpp b/gui.cpp index 2e39bb0..44bc4c5 100644 --- a/gui.cpp +++ b/gui.cpp @@ -145,6 +145,8 @@ GuiView *Gui::popView() free(this->views); this->views = NULL; this->n_views = 0; + /* Deactivate when no views are left */ + this->is_active = false; return NULL; }