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

Method closeShortcut

nixnote.cpp:1112–1118  ·  view source on GitHub ↗

Close nixnote via the shortcut. If we have it set to close to the tray, we just hide things.

Source from the content-addressed store, hash-verified

1110//* we just hide things.
1111//*****************************************************************************
1112void NixNote::closeShortcut() {
1113 if (closeToTray && isVisible())
1114 toggleVisible();
1115 else
1116 closeNixNote();
1117
1118}
1119
1120
1121

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected