ocarina: Respond to j and k even if treeviews aren't focused
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
parent
3acbbb048e
commit
96ace25ffe
|
@ -69,7 +69,9 @@ static gboolean key_pressed(GtkWindow *window, GdkEvent *event, gpointer data)
|
|||
if (key == "b" || key == "l" || key == "r") {
|
||||
playlist_switch_to(key);
|
||||
gtk_window_set_focus(window, NULL);
|
||||
} else if (key >= "0" && key <= "9")
|
||||
} else if (key == "j" || key == "k")
|
||||
playlist_focus_treeview();
|
||||
else if (key >= "0" && key <= "9")
|
||||
playlist_switch_to_n(atoi(key.c_str()));
|
||||
else if (key == "n")
|
||||
libsaria::deck::next();
|
||||
|
|
Loading…
Reference in New Issue