Don't remove edited bookmark from parent if it's at the toplevel
This commit is contained in:
parent
185ff3e338
commit
e403f2259b
1 changed files with 1 additions and 1 deletions
|
@ -865,7 +865,7 @@ midori_browser_edit_bookmark_dialog_new (MidoriBrowser* browser,
|
|||
}
|
||||
}
|
||||
g_free (selected);
|
||||
if (folder != katze_item_get_parent (bookmark))
|
||||
if (folder != katze_item_get_parent (bookmark) && folder != browser->bookmarks)
|
||||
{
|
||||
katze_array_remove_item (katze_item_get_parent (bookmark), bookmark);
|
||||
new_bookmark = TRUE;
|
||||
|
|
Loading…
Reference in a new issue