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

port 2.0

(cherry picked from commit 18af7856f9)
This commit is contained in:
Mario Mohar authored and dux-ci[bot] committed 2026-10-28 18:27:17 +00:00
1 parent 957e87afa5
commit b528af8469
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");
}