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

Method imageContextMenu

gui/nbrowserwindow.cpp:1834–1842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1832}
1833
1834void NBrowserWindow::imageContextMenu(QString l, QString f) {
1835 editor->downloadAttachmentAction()->setEnabled(true);
1836 editor->rotateImageRightAction->setEnabled(true);
1837 editor->rotateImageLeftAction->setEnabled(true);
1838 editor->openAction->setEnabled(true);
1839 editor->downloadImageAction()->setEnabled(true);
1840 selectedFileName = f;
1841 selectedFileLid = l.toInt();
1842}
1843
1844
1845void NBrowserWindow::attachFile() {

Callers

nothing calls this directly

Calls 3

setEnabledMethod · 0.80
downloadImageActionMethod · 0.80

Tested by

no test coverage detected