MCPcopy Create free account
hub / github.com/chrxh/alien / init

Method init

source/Gui/ImageToPatternDialog.cpp:21–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20
21void ImageToPatternDialog::init(SimulationFacade simulationFacade)
22{
23 _simulationFacade = simulationFacade;
24
25 auto path = std::filesystem::current_path();
26 if (path.has_parent_path()) {
27 path = path.parent_path();
28 }
29 _startingPath = GlobalSettings::get().getValue("dialogs.open image.starting path", path.string());
30}
31
32void ImageToPatternDialog::shutdown()
33{

Callers

nothing calls this directly

Calls 1

getValueMethod · 0.80

Tested by

no test coverage detected