Having just started to write some simple scripts to control the layer condition prior to exporting to pdf, I have come across what seems like an anomoly. (Maybe I have misunderstood). Essentially the results when calling isLayerLocked(layer) with a script in the console, the values seem incorrect as shown in the attached illustration (layers 2,3 4 for example are not locked but rated 1 = locked:
Can anyone explain?
yep, isLayerLocked() is inverted...
it returns the value of Layers[...]->isEditable.
would you mind opening a ticket for it in the bug tracker, https://bugs.scribus.net ?
Fixed in https://bugs.scribus.net/view.php?id=17383
thanks!
Hi, well thank you very much, I rearely find a genuine bug and hope this helps others.!
mark as solved (at least solution is known) ???