Commit fba5dd58 authored by Emmanuel Pescosta's avatar Emmanuel Pescosta

Save bookmarks when adding them via the context menu.

CCBUG: 345347
REVIEW: 123080
parent e63b1de2
......@@ -305,6 +305,7 @@ void DolphinContextMenu::openItemContextMenu()
const QString text = selectedUrl.fileName();
PlacesItem* item = model.createPlacesItem(text, selectedUrl);
model.appendItemToGroup(item);
model.saveBookmarks();
}
} else if (activatedAction == openParentAction) {
m_command = OpenParentFolder;
......@@ -370,6 +371,7 @@ void DolphinContextMenu::openViewportContextMenu()
PlacesItem* item = model.createPlacesItem(container->placesText(),
container->url());
model.appendItemToGroup(item);
model.saveBookmarks();
}
}
}
......
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