Opened 15 years ago
Closed 15 years ago
#369 closed defect (fixed)
Buffer: Cancel buffer without object selected invokes a script error.
Reported by: | liuar | Owned by: | madair |
---|---|---|---|
Priority: | P2 | Milestone: | 2.0 |
Component: | Widgets | Version: | 2.0 - beta |
Severity: | Major | Keywords: | |
Cc: | jie.tan@… | Browser: | All |
External ID: | 1308351 | Operating System: | All |
state: | Committed |
Description
- click Buffer to open the Buffer pane
- click Cance
Attachments (1)
Change History (3)
comment:1 by , 15 years ago
by , 15 years ago
Attachment: | bufferPanel.patch added |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
state: | New → Committed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
mapName is a local variable defined in function FillLayerList(). If there's no object selected, there will be a error like mapName is undefined in
so, the solution is make the mapName a global variable and check the value of mapName before getting the map.