couchwidget throws error if record_type is set before headings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
Fix Released
|
Undecided
|
Rick Spencer |
Bug Description
This is the logical order to set properties on a couchwidget:
But this causes the error:
Traceback (most recent call last):
File "bin/super_text", line 121, in open_file
opener = OpenDialog.
File "/home/
dialog.
File "/home/
self.
File "/home/
self.
File "/home/
self.
File "/home/
col_count = len(self.headings) + 1
The code must be written like this:
Related branches
- Elliot Murphy (community): Approve
- Diff: None lines
- Rodrigo Moya (community): Approve
- Eric Casteleijn (community): Approve
- Diff: None lines
Changed in desktopcouch: | |
assignee: | nobody → Rick Spencer (rick-rickspencer3) |
status: | New → Confirmed |
Changed in desktopcouch: | |
status: | Confirmed → Fix Committed |
Changed in desktopcouch: | |
status: | Confirmed → In Progress |
tags: | added: ubuntuone-karmic |
The committed fix was not good. You are supposed to be able to use the couchwidget without setting the headings.