diff options
Diffstat (limited to 'src/gui/gui-input.c')
-rw-r--r-- | src/gui/gui-input.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/gui/gui-input.c b/src/gui/gui-input.c index 7c3d205c6..cd430d55b 100644 --- a/src/gui/gui-input.c +++ b/src/gui/gui-input.c @@ -1264,9 +1264,16 @@ gui_input_jump_smart (struct t_gui_buffer *buffer) { if (gui_hotlist_initial_buffer) { - gui_window_switch_to_buffer (window, - gui_hotlist_initial_buffer, 1); - gui_window_scroll_bottom (window); + if (CONFIG_BOOLEAN(config_look_jump_smart_back_to_buffer)) + { + gui_window_switch_to_buffer (window, + gui_hotlist_initial_buffer, 1); + gui_window_scroll_bottom (window); + } + gui_hotlist_initial_buffer = NULL; + } + else + { gui_hotlist_initial_buffer = NULL; } } |