diff options
Diffstat (limited to 'lib/widgets/ephy-node-view.c')
-rw-r--r-- | lib/widgets/ephy-node-view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/widgets/ephy-node-view.c b/lib/widgets/ephy-node-view.c index 5bd528fcc..8b1f09e0c 100644 --- a/lib/widgets/ephy-node-view.c +++ b/lib/widgets/ephy-node-view.c @@ -1370,7 +1370,8 @@ ephy_node_view_remove (EphyNodeView *view) */ list = ephy_node_view_get_selection (view); - g_return_if_fail (list != NULL); + if (list == NULL) return; + node = g_list_first (list)->data; ephy_tree_model_node_iter_from_node (EPHY_TREE_MODEL_NODE (view->priv->nodemodel), node, &iter); |