setting instead of pushing. closes #3053

This commit is contained in:
Miodec 2022-06-01 14:08:08 +02:00
parent 3644f9996e
commit 385f234828

View file

@ -702,11 +702,11 @@ $(document).on("click", "#bottom .leftright .right .current-theme", (e) => {
} else UpdateConfig.setCustomTheme(false);
} else {
if (Config.customTheme) CommandlineLists.updateCustomThemeListCommands();
CommandlineLists.pushCurrent(
CommandlineLists.setCurrent([
Config.customTheme
? CommandlineLists.customThemeListCommands
: CommandlineLists.themeCommands
);
: CommandlineLists.themeCommands,
]);
show();
}
});