MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / editorActivated

Method editorActivated

src/DefaultDirectoryManager.cpp:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void DefaultDirectoryManager::editorActivated(ScintillaNext *editor)
48{
49 if (settings->defaultDirectoryBehavior() == ApplicationSettings::FollowCurrentDocument && editor->isFile()) {
50 settings->setDefaultDirectory(editor->getPath());
51 }
52}
53
54void DefaultDirectoryManager::fileDialogAccepted(const QString &filePath)
55{

Callers

nothing calls this directly

Calls 2

isFileMethod · 0.80
getPathMethod · 0.80

Tested by

no test coverage detected