Page 1 of 1

Custom Properties on Maverick

Posted: Fri Oct 25, 2013 11:08 am
by olly
in QCad 3.4.0 the worked - it's the greatest newbie for me ;-) thank you

3.4.1: I can type the pair, but afterwards they are gone ;-(

Re: Custom Properties on Maverick

Posted: Fri Oct 25, 2013 11:14 am
by olly
Update only Z is not working !

Z: 10 for example

Re: Custom Properties on Maverick

Posted: Fri Oct 25, 2013 11:21 am
by andrew
Thanks for the hint.

'Z' is indeed a special case. All properties with label 'Z' are not displayed in the property editor (since QCAD is a 2D CAD and altering Z values would lead to unexpected behavior).
This should of course not apply to custom properties though - I will look into that.

Re: Custom Properties on Maverick

Posted: Fri Oct 25, 2013 12:27 pm
by andrew
I've created a bug report for this issue at:
http://www.qcad.org/bugtracker/index.ph ... ask_id=957

Re: Custom Properties on Maverick

Posted: Fri Oct 25, 2013 12:30 pm
by andrew
This issue has been fixed for the next release.

If you are comfortable with editing source files, you can apply the fix to your installed version of QCAD:
https://github.com/qcad/qcad/commit/8da ... 4d1c1bad6a

I.e., change line 521 in file scripts/Widgets/PropertyEditor/PropertyEditor.js to:
if (title==="Z" && !propertyTypeId.isCustom()) {