QCAD

QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help - Check for Updates)

Tasklist

FS#369 - "Edit Text" Function fails ...

Attached to Project: QCAD
Opened by Husky (Husky) - Saturday, 05 November 2011, 21:41 GMT+1
Last edited by Andrew (andrew) - Sunday, 06 November 2011, 09:40 GMT+1
Task Type Bug Report
Category Main
Status Closed
Assigned To Andrew (andrew)
Operating System Windows XP
Severity Medium
Priority Normal
Reported Version 3 RC1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

3 RC1b

Trying to edit a Text calls the Qt Script Debugger with following Message:

Uncaught exception at C:/Programme/QCAD 3rc1b/scripts/Draw/Text\TextDialog/TextDialog.js:170: ReferenceError: Can’t find variable: simpleText
170 simpleText.checked = textDataIn.isSimple();

I’m able to close the Script Debugger but I can’t edit the Text ....

This task depends upon

Closed by  Andrew (andrew)
Sunday, 06 November 2011, 09:40 GMT+1
Reason for closing:  Duplicate
Additional comments about closing:  See  FS#356  for quick fix.
Comment by Husky (Husky) - Sunday, 06 November 2011, 21:51 GMT+1

Thanks!
With the Quick fix from Report  FS#356  I'm now able to edit the Text - but a double Click on Text without(!) a selected function pops again up the Script Debugger:

Uncaught exception at C:/Programme/QCAD 3rc1b\scripts/Draw/Text/TextDialog/TextDialog.js:170: ReferenceError: Can't find variable: simpleText
170 simpleText.checked = textDataIn.isSimple();

Comment by Andrew (andrew) - Sunday, 06 November 2011, 21:57 GMT+1

Did you restart QCAD?

The quick fix changes that line of code from 'simpleText' to 'cbSimpleText', yet the exception you posted still shows the old code with 'simpleText'.

Comment by Husky (Husky) - Sunday, 06 November 2011, 22:14 GMT+1

Yep - my bad! I forgot to restart. Sorry for that!

Loading...