aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/mainmenu/tab_local.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/builtin/mainmenu/tab_local.lua b/builtin/mainmenu/tab_local.lua
index f8de10db6..7887039ab 100644
--- a/builtin/mainmenu/tab_local.lua
+++ b/builtin/mainmenu/tab_local.lua
@@ -379,7 +379,10 @@ local function on_change(type, old_tab, new_tab)
gamebar:hide()
end
core.set_topleft_text("")
- mm_game_theme.update(new_tab,nil)
+ -- If new_tab is nil, a dialog is being shown; avoid resetting the theme
+ if new_tab then
+ mm_game_theme.update(new_tab,nil)
+ end
end
end