bookmarks: Added ability to lock bookmarks

This commit is contained in:
WerWolv
2021-02-24 21:42:18 +01:00
parent 209d33ca57
commit 4a1de5d1cb
5 changed files with 25 additions and 8 deletions

View File

@@ -14,6 +14,7 @@ namespace hex {
entry.comment.reserve(comment.length());
std::copy(name.begin(), name.end(), std::back_inserter(entry.name));
std::copy(comment.begin(), comment.end(), std::back_inserter(entry.comment));
entry.locked = false;
entry.color = color;