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

Method pinCurrentNote

nixnote.cpp:3505–3510  ·  view source on GitHub ↗

"Pin" the current note. This makes sure it appears in all searches

Source from the content-addressed store, hash-verified

3503
3504// "Pin" the current note. This makes sure it appears in all searches
3505void NixNote::pinCurrentNote() {
3506 qint32 lid = tabWindow->currentBrowser()->lid;
3507 NoteTable ntable(global.db);
3508 ntable.pinNote(lid, true);
3509 updateSelectionCriteria();
3510}
3511
3512
3513

Callers

nothing calls this directly

Calls 2

currentBrowserMethod · 0.80
pinNoteMethod · 0.45

Tested by

no test coverage detected