summaryrefslogtreecommitdiffstats
path: root/gui/pages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/pages.cpp')
-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);