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