| 26 | } |
| 27 | |
| 28 | void PatternEditorWindow::initIntern(SimulationFacade simulationFacade) |
| 29 | { |
| 30 | _simulationFacade = simulationFacade; |
| 31 | auto path = std::filesystem::current_path(); |
| 32 | if (path.has_parent_path()) { |
| 33 | path = path.parent_path(); |
| 34 | } |
| 35 | _startingPath = GlobalSettings::get().getValue("editors.pattern editor.starting path", path.string()); |
| 36 | } |
| 37 | |
| 38 | void PatternEditorWindow::processIntern() |
| 39 | { |