← All bug reports

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

Type
Bug
Status
Closed
Resolution
Duplicate
Category
QCAD (main)
Severity
Medium
Priority
Low
Reported version
3 RC1
Operating system
Windows XP
Reported
2011-11-05 by Husky
Closed
2011-11-06 by andrew
Duplicate of
FS#356

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 ....

Comments (3)

Husky 2011-11-06

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();

andrew 2011-11-06

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'.

Husky 2011-11-06

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

Closure comment

See FS#356 for quick fix.