mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-09-28 13:24:14 +02:00
5da0b92001
qet_elements and qet_project_info number folios from 1, as the application does; qet_edit passes "folio" straight to the scripting API, which counts from 0. Using the number qet_elements showed addresses the next folio, and the op fails with nothing but "returned False". Nothing changes for a call that works. When an op fails and the element it names is in the project on another folio, the hint now says which index to use. The qet_edit description and the README say how folios are counted. Counting from 1 instead was not done: it would silently move every existing caller's edits to another folio. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>