MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / unpinCurrentNote

Method unpinCurrentNote

nixnote.cpp:3516–3521  ·  view source on GitHub ↗

"Unpin" the current note so it doesn't appear in every search

Source from the content-addressed store, hash-verified

3514
3515// "Unpin" the current note so it doesn't appear in every search
3516void NixNote::unpinCurrentNote() {
3517 qint32 lid = tabWindow->currentBrowser()->lid;
3518 NoteTable ntable(global.db);
3519 ntable.pinNote(lid, false);
3520 updateSelectionCriteria();
3521}
3522
3523
3524

Callers

nothing calls this directly

Calls 2

currentBrowserMethod · 0.80
pinNoteMethod · 0.45

Tested by

no test coverage detected