settings: keep page history when opening keybinds from the launcher tab (#3990)

port 2.0
This commit is contained in:
Mario Mohar authored and GitHub committed 2026-10-28 14:25:34 -04:00
1 parent f5d22b101e
commit 18af7856f9
1 file changed
+5
@@ -141,6 +141,11 @@ DFloatingWindow {
function showKeybindsSearch(query: string) {
keybindSearchQuery = query || "";
// From inside settings keep the history so back returns to the calling page
if (visible) {
navigateTo("keybinds");
return;
}
showWithTabName("keybinds");
}