diff options
-rw-r--r-- | src/ephy-find-toolbar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c index ae4240b00..336f876da 100644 --- a/src/ephy-find-toolbar.c +++ b/src/ephy-find-toolbar.c @@ -177,6 +177,7 @@ clear_status (EphyFindToolbar *toolbar) gtk_widget_set_sensitive (GTK_WIDGET (priv->prev), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (priv->next), FALSE); + if (priv->web_view == NULL) return; #ifdef HAVE_WEBKIT2 webkit_find_controller_search_finish (priv->controller); #else |