← All bug reports

FS#178add layer from property editor got uncaught exception

Type
Bug
Status
Closed
Resolution
Fixed
Category
QCAD (main)
Severity
Medium
Priority
Low
Reported version
Development
Operating system
All
Reported
2011-08-16 by anonymous
Closed
2011-08-16 by andrew
  1. new drawing
  2. draw line
  3. select it
  4. choose "+" in property editor to add a new layer -> the layer dialog pops up
  5. press cancel
  6. move the mouse back into the drawing area
Uncaught exception at /home/martin/workspace/rsframework/scripts/Widgets/PropertyEditor/PropertyEditor.js:197: TypeError: Result of expression 'layer' [undefined] is not an object.
197	        pw.propertyChanged(layer.getName());

qsdb> .backtrace
#0  <anonymous>(false) at /home/martin/workspace/rsframework/scripts/Widgets/PropertyEditor/PropertyEditor.js:197
#1  <native>() at -1
#2  main() at scripts/autostart.js:501
#3  <global>() at scripts/autostart.js:520