summaryrefslogtreecommitdiffstats
path: root/gui/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/gui.cpp')
-rw-r--r--gui/gui.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/gui.cpp b/gui/gui.cpp
index a270e365f..ce8c3e29d 100644
--- a/gui/gui.cpp
+++ b/gui/gui.cpp
@@ -474,6 +474,13 @@ static void ors_command_read()
gui_set_FILE(orsout);
PageManager::GetResources()->DumpStrings();
ors_command_done();
+ } else if (strlen(command) == 11 && strncmp(command, "reloadtheme", 11) == 0) {
+ PageManager::RequestReload();
+ ors_command_done();
+ } else if (strlen(command) > 11 && strncmp(command, "changepage=", 11) == 0) {
+ char* pg = &command[11];
+ gui_changePage(pg);
+ ors_command_done();
} else {
// mirror output messages
gui_set_FILE(orsout);