mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-19 20:44:16 +02:00
a8f70fe071
GeneralConfigurationPage::applyConf() wrote qet-assistant.json before it applied the collection and title block paths, so the file kept the paths the dialog had just replaced. The qet MCP server hands the user and company collections from that file to every headless run it starts: a company collection chosen in the dialog stayed unknown there, and company:// paths failed to resolve until QElectroTech was started again. Write the file last. tst_assistantinfopaths picks a new company and user collection on the page, applies it and reads the file back; it runs in QStandardPaths test mode from main() on, since QETApp writes the file to the standard data folder as its editor opens, whatever --data-dir says. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>