Commit d2da577e authored by Sébastien Lafargue's avatar Sébastien Lafargue

file-browser: fix assert when going up in the tree

parent 998078ba
......@@ -1207,7 +1207,7 @@ row_deleted (GeditFileBrowserStore *model,
GtkTreePath *copy;
/* We should always be called when the row is still inserted */
g_return_if_fail (node->inserted == TRUE);
g_return_if_fail (node->inserted == TRUE || NODE_IS_DUMMY (node));
hidden = FILE_IS_HIDDEN (node->flags);
node->flags &= ~GEDIT_FILE_BROWSER_STORE_FLAG_IS_HIDDEN;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment