MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / setLastUsedDir

Function setLastUsedDir

source/MRViewer/MRFileDialog.cpp:702–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

700}
701
702void setLastUsedDir( const std::filesystem::path& folder )
703{
704 auto& cfg = Config::instance();
705 cfg.setJsonValue( cLastUsedDirKey, utf8string( folder ) );
706}
707
708} // namespace FileDialog
709

Callers 5

loadFilesMethod · 0.85
windowsDialogFunction · 0.85
gtkDialogFunction · 0.85
saveFileDialogFunction · 0.85
saveFileDialogAsyncFunction · 0.85

Calls 3

instanceFunction · 0.85
utf8stringFunction · 0.85
setJsonValueMethod · 0.80

Tested by

no test coverage detected