summaryrefslogtreecommitdiffstats
path: root/gui/pages.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2016-01-23 15:55:35 +0100
committerEthan Yonker <dees_troy@teamw.in>2016-01-23 15:56:07 +0100
commitafde0983df2248be32092e3872aa65181f5fc3c2 (patch)
tree613bb0d4aa18bac5667bc835b6fac40539a69801 /gui/pages.cpp
parentgui: add language selection to several pages (diff)
downloadandroid_bootable_recovery-afde0983df2248be32092e3872aa65181f5fc3c2.tar
android_bootable_recovery-afde0983df2248be32092e3872aa65181f5fc3c2.tar.gz
android_bootable_recovery-afde0983df2248be32092e3872aa65181f5fc3c2.tar.bz2
android_bootable_recovery-afde0983df2248be32092e3872aa65181f5fc3c2.tar.lz
android_bootable_recovery-afde0983df2248be32092e3872aa65181f5fc3c2.tar.xz
android_bootable_recovery-afde0983df2248be32092e3872aa65181f5fc3c2.tar.zst
android_bootable_recovery-afde0983df2248be32092e3872aa65181f5fc3c2.zip
Diffstat (limited to '')
-rw-r--r--gui/pages.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/pages.cpp b/gui/pages.cpp
index ddf53a92c..def262998 100644
--- a/gui/pages.cpp
+++ b/gui/pages.cpp
@@ -1565,6 +1565,10 @@ void PageManager::RequestReload() {
mReloadTheme = true;
}
+void PageManager::SetStartPage(const std::string& page_name) {
+ mStartPage = page_name;
+}
+
int PageManager::ChangePage(std::string name)
{
DataManager::SetValue("tw_operation_state", 0);