diff options
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r-- | shell/ev-window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index 6e01708f..12341201 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -5101,6 +5101,8 @@ ev_window_sidebar_visibility_changed_cb (EvSidebar *ev_sidebar, if (ev_window->priv->metadata) ev_metadata_set_boolean (ev_window->priv->metadata, "sidebar_visibility", visible); + if (!visible) + gtk_widget_grab_focus (ev_window->priv->view); } } |