mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-26 01:32:25 +00:00
Permit the config box treeview to be keyboard-selected.
I'd failed to set the widget field in its shortcut structure, leading to an annoying GTK warning log message and no useful UI action when Alt-G was pressed in the config box.
This commit is contained in:
parent
9a3b743260
commit
46b7cb6edb
@ -2885,7 +2885,7 @@ void shortcut_add(struct Shortcuts *scs, GtkWidget *labelw,
|
|||||||
|
|
||||||
scs->sc[chr].action = action;
|
scs->sc[chr].action = action;
|
||||||
|
|
||||||
if (action == SHORTCUT_FOCUS) {
|
if (action == SHORTCUT_FOCUS || action == SHORTCUT_TREE) {
|
||||||
scs->sc[chr].uc = NULL;
|
scs->sc[chr].uc = NULL;
|
||||||
scs->sc[chr].widget = (GtkWidget *)ptr;
|
scs->sc[chr].widget = (GtkWidget *)ptr;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user