From afde0983df2248be32092e3872aa65181f5fc3c2 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Sat, 23 Jan 2016 08:55:35 -0600 Subject: Update mStartPage to make language selection work on other pages We should offer language selection on any start page such as decrypt or system read only. However, if the mStartPage variable was not being updated properly so selecting a different language was dumping the user back on either the decrypt prompt or the system read only page. This patch set fixes the problem and places the user back on the proper page when they choose a new language. Change-Id: I5153d3b9525d8c93d3863f4b17ecf55b5209e3c7 --- gui/pages.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'gui/pages.hpp') diff --git a/gui/pages.hpp b/gui/pages.hpp index b2f25801f..bb521c1d2 100644 --- a/gui/pages.hpp +++ b/gui/pages.hpp @@ -140,6 +140,7 @@ public: static void ReleasePackage(std::string name); static int RunReload(); static void RequestReload(); + static void SetStartPage(const std::string& page_name); // Used for actions and pages static int ChangePage(std::string name); -- cgit v1.2.3